#Events Written by Birdy, Gearz and Others
add_namespace = usa
add_namespace = usa_news
add_namespace = usa_economic_events
add_namespace = USA_FOCUS
add_namespace = usa_economic_events_news
add_namespace = donald_trump
add_namespace = donald_trump_news
add_namespace = USA_econ_event
add_namespace = USA_foreign_event
add_namespace = USA_unrest_event
add_namespace = USA_collapse_event
add_namespace = USA_reformed_republic
add_namespace = USA_crisis_event
add_namespace = USA_treason_event
add_namespace = USA_events_domestic_policies
add_namespace = USA_monarchist_event
add_namespace = department_of_state

#Return of 2017 Junk
#Inaguration
country_event = {
	id = donald_trump.1001
	title = donald_trump.1001.t
	desc = donald_trump.1001.d
	picture = GFX_USA_Trump_Inaug
	fire_only_once = yes 
	is_triggered_only = yes
	option = {
		name = donald_trump.1001.a
		log = "[GetDateText]: [This.GetName]: donald_trump.1001.a executed"
		ai_chance = { factor = 100 }
		add_popularity = { ideology = nationalist popularity = 0.05 }
		add_popularity = { ideology = democratic popularity = -0.05 }
		recalculate_party = yes
		hidden_effect = {
			hidden_effect = {
				clear_array = ruling_party
				clear_array = gov_coalition_array
				add_to_array = { ruling_party = 1 } #republican
				add_to_array = { gov_coalition_array = 14 } #republican constitutionists
				add_to_array = { gov_coalition_array = 20 } #republican right populists
				update_government_coalition_strength = yes
				update_party_name = yes
				set_coalition_drift = yes
				set_ruling_leader = yes
				set_leader = yes
			}
			set_politics = {
				ruling_party = democratic
				elections_allowed = yes
			}
			create_country_leader = {
				name = "Donald Trump"
				desc = "DONALD_TRUMP_LEADER_DESC"
				picture = "GamerTrump.dds"
				expire = "2068.1.1"
				ideology = conservatism
				traits = {
					western_conservatism
					businessman
					narcissist
					greedy
					likeable
					emotional
				}
			}
			set_variable = { current_term = 1 }
		}
		custom_effect_tooltip = USA_donald_trump_inaugrated_tt 
	}
}

#Berkley riots
country_event = {
	id = donald_trump.1002
	title = donald_trump.1002.t
	desc = donald_trump.1002.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes
	trigger = {
		tag = USA
		date > 2017.2.1
		date < 2017.4.27
		has_country_leader = { name = "Donald Trump"  ruling_only = yes }
	}

	#Violence is not the Solution
	option = {
		name = donald_trump.1002.a
		log = "[GetDateText]: [This.GetName]: USA.3.a executed"
		add_political_power = -10
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.015 }  
	}
}

#The Travel Ban
country_event = {
	id = donald_trump.0
	title = donald_trump.0.t
	desc = donald_trump.0.d
	picture = GFX_USA_muslim_ban
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Keep the ban limited
		name = donald_trump.0.o1 #Iraq, Syria, Iran, Sudan, Libya, Yemen, Somalia
		log = "[GetDateText]: [This.GetName]: donald_trump.0.o1 executed"
		set_country_flag = original_travel_ban
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.005 } 
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.005 }
		set_temp_variable = { temp_outlook_increase = 0.005 }
		custom_effect_tooltip = travel_ban_challenge_possibility_tt
		hidden_effect = {
			random_list = {
				80 = { #Bad Effect
					country_event = { id = donald_trump.1 days = 2 }
					set_country_flag = challenged_travel_ban
				}
				20 = { #Good Effect
					country_event = { id = donald_trump.7 days = 5 }
				}
			}
		}
		ai_chance = {
			factor = 25
		}
	}
	option = { #Expand the ban to other countries around the globe
		name = donald_trump.0.o2 #Adds Venezuela, Chad, and North Korea
		log = "[GetDateText]: [This.GetName]: donald_trump.0.o2 executed"
		set_country_flag = expanded_travel_ban
		add_political_power = -10
		add_stability = -0.01
		custom_effect_tooltip = travel_ban_small_challenge_possibility_tt
		hidden_effect = {
			random_list = {
				60 = { #Bad Effect
					country_event = { id = donald_trump.1 days = 12 }
					set_country_flag = challenged_travel_ban
				}
				40 = { #Good Effect
					country_event = { id = donald_trump.7 days = 15 }
				}
			}
		}
		ai_chance = {
			factor = 25
		}
	}
}

#Travel Ban Challenged by Federal Courts
country_event = {
	id = donald_trump.1
	title = donald_trump.1.t
	desc = {
		text = donald_trump.1.d1
		trigger = {
			has_country_flag = original_travel_ban
		}
	}
	desc = {
		text = donald_trump.1.d2
		trigger = {
			has_country_flag = expanded_travel_ban
		}
	}
	picture = GFX_USA_Election_2020
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Revise the ban
		name = donald_trump.1.o1 #Iraq, Syria, Iran, Libya, Yemen, Somalia, Chad, Venezuela, North Korea
		log = "[GetDateText]: [This.GetName]: donald_trump.1.o1 executed"
		trigger = {
			has_country_flag = original_travel_ban
		}
		clr_country_flag = original_travel_ban
		set_country_flag = revised_travel_ban
		add_political_power = -15
		add_stability = -0.01
		custom_effect_tooltip = travel_ban_small_challenge_possibility_tt
		hidden_effect = {
			random_list = {
				67 = { #Bad Effect
					country_event = { id = donald_trump.3 days = 10 }
				}
				33 = { #Good Effect
					country_event = { id = donald_trump.7 days = 15 }
				}
			}
		}
		ai_chance = {
			factor = 25
		}
	}
	option = { #Push the ban through!
		name = donald_trump.1.o2
		log = "[GetDateText]: [This.GetName]: donald_trump.1.o2 executed"
		add_political_power = -10
		add_stability = -0.02
		custom_effect_tooltip = travel_ban_failure_possibility_tt
		hidden_effect = {
			random_list = {
				80 = { #Bad Effect
					country_event = { id = donald_trump.3 days = 35 }
					set_country_flag = rejected_travel_ban
					modifier = {
						add = -20
						has_country_flag = expanded_travel_ban
					}
				}
				20 = { #Good Effect
					country_event = { id = donald_trump.7 days = 28 }
					modifier = {
						add = 20
						has_country_flag = expanded_travel_ban
					}
				}
			}
		}
		ai_chance = {
			factor = 25
		}
	}
	option = { #We can't afford to be entangled in legal battles
		name = donald_trump.1.o3
		log = "[GetDateText]: [This.GetName]: donald_trump.1.o3 executed"
		add_stability = 0.01
		custom_effect_tooltip = travel_ban_drop_tt
		ai_chance = {
			factor = 25
		}
	}
}

#Travel Ban Rejected in Federal Courts
country_event = {
	id = donald_trump.2
	title = donald_trump.2.t
	desc = {
		text = donald_trump.2.d1
		trigger = {
			has_country_flag = original_travel_ban
		}
	}
	desc = {
		text = donald_trump.2.d2
		trigger = {
			has_country_flag = expanded_travel_ban
			NOT = {
				has_country_flag = rejected_travel_ban
			}
		}
	}
	desc = {
		text = donald_trump.2.d3
		trigger = {
			has_country_flag = rejected_travel_ban
			NOT = {
				has_country_flag = expanded_travel_ban
			}
		}
	}
	picture = GFX_USA_Election_2020
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Bring it to the Supreme Court!
		name = donald_trump.2.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.2.o1 executed"
		add_political_power = -15
		add_stability = -0.02
		country_event = { id = donald_trump.4 days = 30 }
		custom_effect_tooltip = travel_ban_supreme_courte_tt
		ai_chance = {
			factor = 25
		}
	}
	option = { #Revise the ban
		name = donald_trump.1.o1 #Iraq, Syria, Iran, Libya, Yemen, Somalia, Chad, Venezuela, North Korea
		log = "[GetDateText]: [This.GetName]: donald_trump.2.o2 executed"
		trigger = {
			has_country_flag = original_travel_ban
		}
		clr_country_flag = original_travel_ban
		set_country_flag = revised_travel_ban
		add_political_power = -10
		add_stability = -0.01
		custom_effect_tooltip = travel_ban_failure_possibility_tt
		hidden_effect = {
			random_list = {
				75 = { #Bad Effect
					country_event = { id = donald_trump.3 days = 10 }
				}
				25 = { #Good Effect
					country_event = { id = donald_trump.7 days = 15 }
				}
			}
		}
		ai_chance = {
			factor = 25
		}
	}
	option = { #We can't afford to be entangled in legal battles
		name = donald_trump.2.o2
		log = "[GetDateText]: [This.GetName]: donald_trump.2.o3 executed"
		add_stability = 0.01
		custom_effect_tooltip = travel_ban_drop_tt
		ai_chance = {
			factor = 25
		}
	}
}

#Travel Ban Challenged by Federal Courts Again
country_event = {
	id = donald_trump.3
	title = donald_trump.3.t
	desc = donald_trump.3.d
	picture = GFX_USA_Election_2020

	fire_only_once = yes

	is_triggered_only = yes

	option = { #Push the ban through!
		name = donald_trump.3.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.3.o1 executed"
		add_political_power = -15
		add_stability = -0.01
		custom_effect_tooltip = travel_ban_small_failure_possibility_tt
		hidden_effect = {
			random_list = {
				67 = { #Bad Effect
					country_event = { id = donald_trump.2 days = 35 }
				}
				33 = { #Good Effect
					country_event = { id = donald_trump.7 days = 28 }
				}
			}
		}
		ai_chance = {
			factor = 25
		}
	}
	option = { #We can't afford to be entangled in legal battles
		name = donald_trump.3.o2
		log = "[GetDateText]: [This.GetName]: donald_trump.3.o2 executed"
		add_stability = 0.01
		custom_effect_tooltip = travel_ban_drop_tt
		ai_chance = {
			factor = 25
		}
	}
}

#The Ban is Brought Before the Supreme Court
country_event = {
	id = donald_trump.4
	title = donald_trump.4.t
	desc = donald_trump.4.d
	picture = GFX_USA_Election_2020
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Let the process begin
		name = donald_trump.4.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.4.o1 executed"
		custom_effect_tooltip = travel_ban_supreme_courte_tt
		hidden_effect = {
			random_list = {
				50 = { #Bad Effect
					modifier = {
						factor = 0
						has_country_flag = third_republican_scotus_justice_added
					}
					country_event = { id = donald_trump.5 days = 15 }
				}
				50 = { #Good Effect
					modifier = {
						factor = 2
						has_country_flag = republican_scotus_justice_added
					}
					modifier = {
						factor = 2
						has_country_flag = second_republican_scotus_justice_added
					}
					country_event = { id = donald_trump.6 days = 15 }
				}
			}
		}
	}
}

#The Court Votes Against the Ban
country_event = {
	id = donald_trump.5
	title = donald_trump.5.t
	desc = donald_trump.5.d
	picture = GFX_USA_Election_2020
	fire_only_once = yes
	is_triggered_only = yes

	option = { #This was a waste of time
		name = donald_trump.5.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.5.o1 executed"
		add_political_power = -15
		add_stability = -0.02
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.0025 } 
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = -0.0025 }
		set_temp_variable = { temp_outlook_increase = -0.0025 }
		custom_effect_tooltip = travel_ban_drop_tt
	}
}

#The Court Upholds the Ban
country_event = {
	id = donald_trump.6
	title = donald_trump.6.t
	desc = donald_trump.6.d
	picture = GFX_USA_Election_2020
	fire_only_once = yes
	is_triggered_only = yes

	option = { #We finally have an end to this madness
		name = donald_trump.6.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.6.o1 executed"
		add_political_power = 50
		add_stability = 0.02 
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.005 } 
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.005 }
		set_temp_variable = { temp_outlook_increase = 0.005 }
		custom_effect_tooltip = travel_ban_drop_tt
	}
}

#Travel Ban Succeeds
country_event = {
	id = donald_trump.7
	title = donald_trump.7.t
	desc = {
		text = donald_trump.7.d1
		trigger = {
			NOT = {
				has_country_flag = challenged_travel_ban
			}
		}
	}
	desc = {
		text = donald_trump.7.d2
		trigger = {
			has_country_flag = challenged_travel_ban
			NOT = {
				has_country_flag = rejected_travel_ban
			}
		}
	}
	desc = {
		text = donald_trump.7.d3
		trigger = {
			has_country_flag = rejected_travel_ban
			NOT = {
				has_country_flag = expanded_travel_ban
			}
		}
	}
	picture = GFX_USA_Election_2020
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Huzzah!
		name = donald_trump.7.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.7.o1 executed"
		if = {
			limit = {
				NOT = {
					has_country_flag = challenged_travel_ban
				}
			}
			add_political_power = 100
			add_stability = 0.03 
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.01 } 
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.01 }
			set_temp_variable = { temp_outlook_increase = 0.01 }
		}
		else = {
			add_political_power = 50
			add_stability = 0.01
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.005 } 
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.005 }
			set_temp_variable = { temp_outlook_increase = 0.005 }
		}
		custom_effect_tooltip = travel_ban_drop_tt
	}
}

#Dealing with ISIS
country_event = {
	id = donald_trump.500
	title = donald_trump.500.t
	desc = donald_trump.500.d
	picture = GFX_SYR_tahrir_al_sham
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Suspend US Intevention
		name = donald_trump.500.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.500.o1 executed"
		ISI = {
			add_timed_idea = { idea = free_operations days = 365 }
			every_neighbor_country = {
				limit = {
					original_tag = SYR
					has_government = communism
				}
				USA = {
					reverse_add_opinion_modifier = {
						target = PREV
						modifier = USA_withdrew_from_region
					}
				}
			}
		}
		add_stability = 0.03
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.0025 } 
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.005 }
		set_temp_variable = { temp_outlook_increase = 0.005 }
		set_country_flag = dealing_with_isis_suspend_us_intervention
		news_event = donald_trump_news.0
		hidden_effect = {
			ISI = {
				country_event = donald_trump.503
			}
		}
		ai_chance = {
			factor = 33
			modifier = {
				factor = 2
				ISI = {
					is_ai = yes
				}
			}
			modifier = {
				factor = 5
				ISI = {
					surrender_progress > 0.5
				}
			}
		}
	}
	option = { #Continue Operations
		name = donald_trump.500.o2
		log = "[GetDateText]: [This.GetName]: donald_trump.500.o2 executed"
		set_temp_variable = { treasury_change = -10 }
		modify_treasury_effect = yes
		add_political_power = 100 
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.0025 } 
		change_relative_party_popularity = yes 
		set_country_flag = dealing_with_isis_continue_operations
		hidden_effect = {
			ISI = {
				every_neighbor_country = {
					country_event = { id = donald_trump.501 days = 5 }
				}
			}
			country_event = { id = donald_trump.502 days = 30 }
		}
		#TODO -- news_event = flavor news event for US player only
		ai_chance = {
			factor = 55
		}
	}
	option = { #Escalate the Campaign
		name = donald_trump.500.o3
		log = "[GetDateText]: [This.GetName]: donald_trump.500.o3 executed"
		set_temp_variable = { treasury_change = -20 }
		modify_treasury_effect = yes
		ISI = {
			add_ideas = us_extensive_bombing_campaign
			every_neighbor_country = {
				limit = {
					NOT = {
						AND = {
							original_tag = SYR
							has_government = communism
						}
					}
				}
				USA = {
					reverse_add_opinion_modifier = {
						target = PREV
						modifier = USA_intervention_into_our_region
					}
				}
			}
		}
		add_stability = -0.03
		set_country_flag = dealing_with_isis_escalate_the_campaign
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.005 } 
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = -0.01 }
		set_temp_variable = { temp_outlook_increase = -0.01 }
		news_event = donald_trump_news.1
		hidden_effect = {
			ISI = {
				country_event = donald_trump.504
				every_neighbor_country = {
					country_event = { id = donald_trump.501 days = 5 }
				}
			}
		}
		ai_chance = {
			factor = 12
			modifier = {
				factor = 3
				ISI = {
					is_ai = no
				}
			}
			modifier = {
				factor = 5
				ISI = {
					surrender_progress < 0.05
				}
			}
			modifier = {
				factor = 0
				ISI = {
					surrender_progress > 0.5
				}
			}
		}
	}
}

#Subsidies to the US for fighting ISIS
country_event = {
	id = donald_trump.501
	title = donald_trump.501.t
	desc = donald_trump.501.d
	picture = GFX_us_flag

	fire_only_once = yes

	is_triggered_only = yes

	option = { #Subsidize their efforts
		name = donald_trump.501.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.501.o1 executed"
		if = {
			limit = {
				num_of_factories < 4
			}
			add_to_variable = {
				var = USA.isis_subsidies
				value = 0.5
			}
			set_temp_variable = { treasury_change = -0.5 }
			modify_treasury_effect = yes
		}
		if = {
			limit = {
				num_of_factories > 3
				num_of_factories < 8
			}
			add_to_variable = {
				var = USA.isis_subsidies
				value = 1
			}
			set_temp_variable = { treasury_change = -1 }
			modify_treasury_effect = yes
		}
		if = {
			limit = {
				num_of_factories > 7
			}
			add_to_variable = {
				var = USA.isis_subsidies
				value = 2
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}
		reverse_add_opinion_modifier = {
			target = USA
			modifier = USA_given_subsidies
		}
		add_popularity = { ideology = democratic popularity = 0.02 }
		recalculate_party = yes
		ai_chance = {
			factor = 40
			modifier = {
				factor = 2
				USA = {
					is_ai = no
				}
			}
			modifier = {
				factor = 2
				USA = {
					has_country_flag = dealing_with_isis_escalate_the_campaign
				}
			}
			modifier = {
				factor = 0
				AND = {
					original_tag = SYR
					has_government = communism
				}
			}
		}
	}
	option = { #We can't afford it
		name = donald_trump.501.o2
		log = "[GetDateText]: [This.GetName]: donald_trump.501.o2 executed"
		ai_chance = {
			factor = 60
		}
	}
}

#Subsidies for the War on ISIS
country_event = {
	id = donald_trump.502
	title = donald_trump.502.t
	desc = donald_trump.502.d
	picture = GFX_us_flag

	fire_only_once = yes

	is_triggered_only = yes

	option = { #Excellent!
		name = donald_trump.502.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.502.o1 executed"
		trigger = {
			check_variable = {
				var = isis_subsidies
				value = 0
				compare = not_equals
			}
		}
		custom_effect_tooltip = isis_subsidies_tt
		add_to_variable = {
			var = treasury
			value = isis_subsidies
		}
	}
	option = { #This is... Unfortunate
		name = donald_trump.502.o2
		log = "[GetDateText]: [This.GetName]: donald_trump.502.o2 executed"
		trigger = {
			check_variable = {
				var = isis_subsidies
				value = 0
				compare = equals
			}
		}
		add_political_power = -10
	}
}

#US Retracts from War Against Us!
country_event = {
	id = donald_trump.503
	title = donald_trump.503.t
	desc = donald_trump.503.d
	picture = GFX_us_flag

	fire_only_once = yes

	is_triggered_only = yes

	option = { #Allah has blessed us
		name = donald_trump.503.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.503.o1 executed"
		add_ideas = free_operations
	}
}

#US Steps Up War Against Us!
country_event = {
	id = donald_trump.504
	title = donald_trump.504.t
	desc = donald_trump.504.d
	picture = GFX_us_flag
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Allah will reign down terror upon our enemies!
		name = donald_trump.504.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.504.o1 executed"
		add_ideas = us_extensive_bombing_campaign
	}
}


#US Suspends War Against ISIS
news_event = {
	id = donald_trump_news.0
	title = donald_trump_news.0.t
	desc = donald_trump_news.0.d
	picture = GFX_news_trump_announcement

	major = yes

	fire_only_once = yes

	option = { #The job has been done
		trigger = {
			original_tag = USA
		}
		name = donald_trump_news.0.o1
		log = "[GetDateText]: [This.GetName]: donald_trump_news.0.o1 executed"
	}
	option = { #Are we supposed to fight terror on our own now?
		trigger = {
			OR = {
				original_tag = SOV
				original_tag = IRQ
				original_tag = SYR
				original_tag = TUR
				original_tag = SYR
			}
		}
		name = donald_trump_news.0.o2
		log = "[GetDateText]: [This.GetName]: donald_trump_news.0.o2 executed"
	}
	option = { #This is a relief
		trigger = {
			original_tag = ISI
		}
		name = donald_trump_news.0.o3
		log = "[GetDateText]: [This.GetName]: donald_trump_news.0.o3 executed"
	}
	option = { #Interesting
		trigger = {
			NOT = {
				original_tag = USA
				original_tag = SOV
				original_tag = IRQ
				original_tag = SYR
				original_tag = TUR
				original_tag = SYR
			}
		}
		name = donald_trump_news.0.o4
		log = "[GetDateText]: [This.GetName]: donald_trump_news.0.o4 executed"
	}
}

#US Expands War Against ISIS
news_event = {
	id = donald_trump_news.1
	title = donald_trump_news.1.t
	desc = donald_trump_news.1.d
	picture = GFX_report_event_united_states_air_force

	major = yes

	fire_only_once = yes

	option = { #We are strong in the face of evil
		trigger = {
			original_tag = USA
		}
		name = donald_trump_news.1.o1
		log = "[GetDateText]: [This.GetName]: donald_trump_news.1.o1 executed"
	}
	option = { #This is a relief
		trigger = {
			OR = {
				original_tag = SOV
				original_tag = IRQ
				original_tag = SYR
				original_tag = TUR
				original_tag = SYR
			}
		}
		name = donald_trump_news.1.o2
		log = "[GetDateText]: [This.GetName]: donald_trump_news.1.o2 executed"
	}
	option = { #Uh Oh...
		trigger = {
			original_tag = ISI
		}
		name = donald_trump_news.1.o3
		log = "[GetDateText]: [This.GetName]: donald_trump_news.1.o3 executed"
	}
	option = { #Interesting
		trigger = {
			NOT = {
				original_tag = USA
				original_tag = SOV
				original_tag = IRQ
				original_tag = SYR
				original_tag = TUR
				original_tag = SYR
			}
		}
		name = donald_trump_news.1.o4
		log = "[GetDateText]: [This.GetName]: donald_trump_news.1.o4 executed"
	}
}
 
##The Palestine Question
country_event = {
	id = USA_FOCUS.6
	title = USA_FOCUS.6.t
	desc = USA_FOCUS.6.d

	is_triggered_only = yes

	option = { #Jerusalem Is Isreal's capital
		name = USA_FOCUS.6.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.6.a executed"
		ISR = {
			add_opinion_modifier = { target = USA modifier = USA_ISR_Jerusalem_Capital }
		}
		every_country = {
			limit = {
				or = {
					has_idea = sunni
					has_idea = shia
				}
			}
			add_opinion_modifier = { target = USA modifier = USA_Recognize_Jerusalem_Capital }
		}
		hidden_effect = {
			every_country = {
				news_event = { id = USA_FOCUS.7 days = 3 }
			}
			news_event = { id = USA_FOCUS.111 days = 90 } #temp
		}
		add_political_power = 25
		ai_chance = { factor = 50 }
	}

	option = { #eh, maybe later
		name = USA_FOCUS.6.b
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.6.b executed"
		ISR = {
			add_opinion_modifier = { target = USA modifier = USA_Not_Jerusalem_Capital }
		}
	} 
} 
#Rumors of a 3rd Intifada.
news_event = {
	id = USA_FOCUS.111
	title = USA_FOCUS.111.t
	desc = USA_FOCUS.111.d
	picture = GFX_news_3rd_Intifada

	major = yes

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = USA_FOCUS.111.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.111.a executed"
	}
}
##########               ##########
########## Other Shit!!! ##########
##########               ##########

#USS Cole Attacks
country_event = {
	id = usa.2
	title = usa.2.t
	desc = usa.2.d
	picture = GFX_uss_cole_bombing
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { 
			OR = {
				has_country_flag = collapsed_nation
				has_country_flag = usa_uss_cole_attack
			} 
		}
	}

	# They Will be Missed
	option = {
		name = usa.2.o1
		log = "[GetDateText]: [This.GetName]: usa.2.o1 executed"
		news_event = { hours = 6 id = usa_news.18 }
		add_named_threat = { threat = 0.5 name = usa.2.t }
		# Hate on SUD
		if = { limit = { country_exists = SUD }
			add_opinion_modifier = { target = SUD modifier = recent_actions_negative }
			reverse_add_opinion_modifier = { target = SUD modifier = recent_actions_negative }
		}
		else = {
			random_country = {
				limit = {
					has_government = fascism
					NOT = { tag = SAU }
					NOT = { tag = UAE }
					NOT = { tag = OMA }
					NOT = { tag = QAT }
					NOT = { tag = BHR }
					NOT = { tag = KUW }
					NOT = { tag = JOR }
				}
				add_opinion_modifier = { target = USA modifier = recent_actions_negative }
				reverse_add_opinion_modifier = { target = USA modifier = recent_actions_negative }
			}
		}
		USA_congress_small_opposition = yes
		set_country_flag = usa_uss_cole_attack
		ai_chance = {
			base = 1
		}
	}

	option = {
		name = usa.2.o2
		log = "[GetDateText]: [This.GetName]: usa.2.o2 executed"
		news_event = { hours = 6 id = usa_news.18 }
		navy_experience = 5
		add_named_threat = { threat = 0.5 name = usa.2.t }
		#  Demand Repayment!
		if = { limit = { country_exists = SUD }
			add_opinion_modifier = { target = SUD modifier = recent_actions_negative }
			reverse_add_opinion_modifier = { target = SUD modifier = recent_actions_negative }
			SUD = { country_event = { id = usa.2000 days = 7 random_hours = 2 } }
		}
		else = {
			random_country = {
				limit = {
					has_government = fascism
					NOT = { tag = SAU }
					NOT = { tag = UAE }
					NOT = { tag = OMA }
					NOT = { tag = QAT }
					NOT = { tag = BHR }
					NOT = { tag = KUW }
					NOT = { tag = JOR }
				}
				add_opinion_modifier = { target = USA modifier = recent_actions_negative }
				reverse_add_opinion_modifier = { target = USA modifier = recent_actions_negative }
				country_event = { id = usa.2000 days = 7 random_hours = 2 }
			}
		}
		USA_congress_small_opposition = yes
		set_country_flag = usa_uss_cole_attack
		ai_chance = {
			base = 0
			modifier = {
				add = 0.25
				is_historical_focus_on = no
			}
			modifier = {
				add = 0.25
				OR = {
					has_government = nationalist
					has_government = communism
				}
			}
		}
	}

	#Demand Sudan Repay!
}

#Sudan - America Demands Repayment for the USS Cole Bombing
country_event = {
	id = usa.2000
	title = usa.2000.t
	desc = usa.2000.d
	picture = GFX_uss_cole_bombing
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		USA = { has_country_flag = usa_uss_cole_attack }
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { #Accept
		name = usa.2000.o1
		log = "[GetDateText]: [This.GetName]: usa.2000.o1 executed"
		effect_tooltip = {
			set_temp_variable = { treasury_change = -0.25 }
			modify_treasury_effect = yes
			USA = {
				set_temp_variable = { treasury_change = 0.25 }
				modify_treasury_effect = yes
			}
		}
		#Response sent to America
		USA = { country_event = { id = usa.2001 days = 1 } }
		ai_chance = {
			base = 1
		}
	}

	option = { #Refuse
		name = usa.2000.o2
		log = "[GetDateText]: [This.GetName]: usa.2000.o2 executed"
		add_popularity = { ideology = fascism popularity = 0.02 }
		recalculate_party = yes
		USA = { country_event = { id = usa.2002 days = 1 } }
		ai_chance = {
			base = 0
		}
	}
}

#From.GetName Accepted
country_event = {
	id = usa.2001
	title = usa.2001.t
	desc = usa.2001.d
	picture = GFX_uss_cole_bombing
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Accept
		name = usa.2001.o1
		log = "[GetDateText]: [This.GetName]: usa.2001.o1 executed"
		SUD = {
			set_temp_variable = { treasury_change = -0.25 }
			modify_treasury_effect = yes
		}
		USA = {
			set_temp_variable = { treasury_change = 0.25 }
			modify_treasury_effect = yes
		}
		ai_chance = {
			base = 1
		}
	}
}

#[From.GetName] Refuses
country_event = {
	id = usa.2002
	title = usa.2002.t
	desc = usa.2002.d
	picture = GFX_uss_cole_bombing
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Accept
		name = usa.2002.o1
		ai_chance = {
			base = 1
		}
	}
}

#Southern Illinois Incident
country_event = {
	id = usa.3
	title = usa.3.t
	desc = usa.3.d
	picture = GFX_ufo
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 778 #Illinois
		NOT = { 
			has_country_flag = collapsed_nation 
			has_start_date > 2016.1.1 
		} 
	}

	#Spooky
	option = {
		name = usa.3.o1
		log = "[GetDateText]: [This.GetName]: usa.3.o1 executed"
		set_temp_variable = { temp_opinion = -5 }
		change_farmers_opinion = yes
	}
}

#Microsoft acquires Visio
country_event = {
	id = usa.4
	title = usa.4.t
	desc = usa.4.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		OR = {
			NOT = { has_government = communism }
			NOT = { has_government = nationalist }
			NOT = { check_variable = { ruling_party = 4 } }
			NOT = { check_variable = { ruling_party = 19 } }
			NOT = { check_variable = { ruling_party = 20 } }
			NOT = { check_variable = { ruling_party = 21 } }
		}
		NOT = { 
			has_country_flag = collapsed_nation 
			has_start_date > 2016.1.1 
		} 
	}

	#Allow the Acqusition
	option = {
		name = usa.4.o1
		log = "[GetDateText]: [This.GetName]: usa.4.o1 executed"
		add_stability = -0.04
		811 = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		set_country_flag = USA_allowed_microsoft_merger
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { modify_economic_regulation = -4 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { modify_wall_street = 3 }
		USA_modify_strength_of_wall_street = yes
		set_temp_variable = { temp_opinion = 3 }
		change_wall_street_opinion = yes
		change_small_medium_business_owners_opinion = yes
		change_industrial_conglomerates_opinion = yes
		hidden_effect = { country_event = { id = usa.5 days = 25 random_hours = 10 } }
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				add = 1
			}
			modifier = {
				is_historical_focus_on = yes
				add = 2
			}
			modifier = {
				is_historical_focus_on = no
				factor = 0
			}
		}
	}

	option = {
		name = usa.4.o2
		log = "[GetDateText]: [This.GetName]: usa.4.o2 executed"
		add_stability = 0.02
		811 = { add_extra_state_shared_building_slots = 2 }
		set_country_flag = USA_stopped_microsoft_merger
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { modify_economic_regulation = 4 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { modify_wall_street = -2 }
		USA_modify_strength_of_wall_street = yes
		set_temp_variable = { temp_opinion = -5 }
		change_wall_street_opinion = yes
		change_small_medium_business_owners_opinion = yes
		change_industrial_conglomerates_opinion = yes
		hidden_effect = { country_event = { id = usa.5 days = 25 random_hours = 10 } }
		ai_chance = {
			base = 0
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
			modifier = {
				is_historical_focus_on = no
				factor = 2
			}
			modifier = {
				has_global_flag = USA_REFORMED_REPUBLIC_PATH
				add = 2
			}
		}
	}

	#Stop the Merger!
}

#America Online merges with Time Warner
country_event = {
	id = usa.5
	title = usa.5.t
	desc = usa.5.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	#Excellent!
	trigger = {
		tag = USA
		NOT = {
			OR = {
				has_government = communism
				has_government = nationalist
				check_variable = { ruling_party = 4 }
				check_variable = { ruling_party = 19 }
				check_variable = { ruling_party = 20 }
				check_variable = { ruling_party = 21 }
			}
		}
		NOT = { has_country_flag = collapsed_nation }
		OR = {
			has_country_flag = USA_stopped_microsoft_merger
			has_country_flag = USA_allowed_microsoft_merger
		}
		date > 2000.2.1
		date < 2016.01.01
	}

	option = {
		name = usa.5.o1
		log = "[GetDateText]: [This.GetName]: usa.5.o1 executed"
		add_political_power = -50
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { modify_economic_regulation = -4 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = 2 }
		change_wall_street_opinion = yes
		change_small_medium_business_owners_opinion = yes
		change_industrial_conglomerates_opinion = yes
		ai_chance = {
			base = 1.5
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				add = 0.5
			}
			modifier = {
				is_historical_focus_on = yes
				add = 0.75
			}
			modifier = {
				factor = 0.10
				is_historical_focus_on = no
			}
			modifier = {
				add = 0.50
				has_country_flag = USA_allowed_microsoft_merger
			}
		}
	}

	option = {
		name = usa.5.o2
		log = "[GetDateText]: [This.GetName]: usa.5.o2 executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { modify_economic_regulation = 5 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = -3 }
		change_wall_street_opinion = yes
		change_small_medium_business_owners_opinion = yes
		change_industrial_conglomerates_opinion = yes
		ai_chance = {
			base = 0.50
			modifier = {
				has_global_flag = USA_REFORMED_REPUBLIC_PATH
				add = 0.5
			}
			modifier = {
				is_historical_focus_on = yes
				add = 0.30
			}
			modifier = {
				factor = 0.50
				is_historical_focus_on = no
			}
			modifier = {
				add = 0.75
				has_country_flag = USA_stopped_microsoft_merger
			}
		}
	}

	#This is Illegal!
}

#Winter of 2000 North American Blizzard - Flavor Event
country_event = {
	id = usa.6
	title = usa.6.t
	desc = usa.6.d
	picture = GFX_blizzard
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { 
			has_country_flag = collapsed_nation 
			has_start_date > 2016.1.1 
		} 
	}

	option = {
		name = usa.6.o1
		log = "[GetDateText]: [This.GetName]: usa.6.o1 executed"
		add_political_power = -50
		add_stability = -0.05
		ai_chance = { base = 0 }
	}

	option = {
		name = usa.6.o2
		log = "[GetDateText]: [This.GetName]: usa.6.o2 executed"
		add_stability = -0.03
		set_temp_variable = { treasury_change = -0.5 }
		modify_treasury_effect = yes
		ai_chance = { base = 5 }
	}
}
#Elian Gonzalez Affair
country_event = {
	id = usa.7
	title = usa.7.t
	desc = usa.7.d
	picture = GFX_elian_gonzalez
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_government = communism }
		NOT = { 
			has_country_flag = collapsed_nation 
			has_start_date > 2016.1.1 
		} 
		CUB = {
			has_government = communism
			exists = yes
		}
	}

	option = { #Send the boy back
		name = usa.7.o1
		log = "[GetDateText]: [This.GetName]: usa.7.o1 executed"
		add_political_power = 50
		CUB = {
			add_opinion_modifier = { target = USA modifier = recent_actions_positive }
			reverse_add_opinion_modifier = { target = USA modifier = recent_actions_positive }
		}
		set_temp_variable = { temp_opinion = -3 }
		change_communist_cadres_opinion = yes
		hidden_effect = {
			random_list = {
				80 = {
					country_event = { id = usa.22 days = 112 random_hours = 15 }
				}
				20 = {
					country_event = { id = usa.23 days = 112 random_hours = 15 }
				}
			}
		}
		custom_effect_tooltip = usa.7.o1_tt
		ai_chance = {
			base = 1
			modifier = {
				add = 3
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0.50
			}
			modifier = {
				check_variable = { ruling_party = 1 } #Republican
				add = 0.25
			}
		}
	}

	option = { #Keep him here
		name = usa.7.o2
		log = "[GetDateText]: [This.GetName]: usa.7.o2 executed"
		add_political_power = -100
		add_stability = 0.03
		CUB = {
			add_opinion_modifier = { target = USA modifier = recent_actions_negative }
			reverse_add_opinion_modifier = { target = USA modifier = recent_actions_negative }
		}
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { temp_opinion = 5 }
		change_communist_cadres_opinion = yes
		add_named_threat = { threat = 2.5 name = usa.7.t }
		ai_chance = {
			base = 1
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 3
				is_historical_focus_on = no
			}
		}
	}
}

#Alaska Airlines Flight 261
country_event = {
	id = usa.9
	title = usa.9.t
	desc = usa.9.d
	picture = GFX_plane_crash
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { 
			has_country_flag = collapsed_nation 
			has_start_date > 2016.1.1 
		} 
	}

	option = { #Sad Day
		name = usa.9.o1
		log = "[GetDateText]: [This.GetName]: usa.9.01 executed"
		add_political_power = -50
		set_temp_variable = { arg_popularity = -0.03 }
		add_ruling_outlook_popularity = yes
		ai_chance = {
			base = 1
		}
	}
}

#End of the Peanuts
country_event = {
	id = usa.10
	title = usa.10.t
	desc = usa.10.d
	picture = GFX_comic_artist
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_elections = yes
		NOT = { 
			has_country_flag = collapsed_nation 
			has_start_date > 2016.1.1 
		} 
	}

	#Unfortunate
	option = {
		name = usa.10.o1
		log = "[GetDateText]: [This.GetName]: usa.10.o1 executed"
		add_political_power = 10
		ai_chance = { base = 1 }
	}

	option = {
		name = usa.10.o2
		log = "[GetDateText]: [This.GetName]: usa.10.o2"
		set_temp_variable = { treasury_change = -0.5 }
		modify_treasury_effect = yes
		add_stability = 0.01
		ai_chance = { base = 0 }
	}

	#Revitalize that Company!
}

#Shooting of Kayla Rolland
country_event = {
	id = usa.11
	title = usa.11.t
	desc = usa.11.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 777 #Michigan
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { #An Era of Gun Violence?
		name = usa.11.o1
		log = "[GetDateText]: [This.GetName]: usa.11.o1 executed"
		add_political_power = -150
		add_stability = -0.03
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
	}
}

#2000 Phillips Explosion
country_event = {
	id = usa.12
	title = usa.12.t
	desc = usa.12.d
	picture = GFX_burning_oil_refinery
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 800 #Texas
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { #Accidents Happen
		name = usa.12.o1
		log = "[GetDateText]: [This.GetName]: usa.12.o1 executed"
		add_stability = -0.04
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 5
			modifier = {
				OR = {
					check_variable = { ruling_party = 2 }
					check_variable = { ruling_party = 3 }
					check_variable = { ruling_party = 18 }
				}
				factor = 0
			}
			modifier = {
				OR = {
					check_variable = { ruling_party = 1 }
					check_variable = { ruling_party = 14 }
					check_variable = { ruling_party = 20 }
				}
				add = 2
			}
		}
	}

	option = { #Launch a Complete Investigation
		name = usa.12.o2
		log = "[GetDateText]: [This.GetName]: usa.12.o2 executed"
		add_political_power = -75
		add_stability = -0.02
		USA_congress_small_opposition = yes
		set_temp_variable = { treasury_change = -0.25 }
		modify_treasury_effect = yes
		set_temp_variable = { temp_opinion = 5 }
		change_intelligence_community_opinion = yes
		set_temp_variable = { temp_opinion = -5 }
		change_fossil_fuel_industry_opinion = yes
		change_wall_street_opinion = yes
		change_small_medium_business_owners_opinion = yes
		ai_chance = {
			base = 5
			modifier = {
				factor = 0
				OR = {
					check_variable = { ruling_party = 1 }
					check_variable = { ruling_party = 14 }
					check_variable = { ruling_party = 20 }
				}
				check_variable = { ruling_party = 1 } #Conservatism
				check_variable = { ruling_party = 14 } #Libertarian
				check_variable = { ruling_party = 20 } #RWP
			}
			modifier = {
				OR = {
					check_variable = { ruling_party = 2 }
					check_variable = { ruling_party = 3 }
					check_variable = { ruling_party = 18 }
				}
				add = 2
			}
		}
	}
}

#Fort Worth Tornado
country_event = {
	id = usa.15
	title = usa.15.t
	desc = usa.15.d
	picture = GFX_tornado
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 800 #Texas
		NOT = { has_country_flag = collapsed_nation }
	}

	#The State Can Handle it
	option = {
		name = usa.15.o1
		log = "[GetDateText]: [This.GetName]: usa.15.o1 executed"
		add_stability = -0.03
		USA_congress_small_opposition = yes
		ai_chance = {
			base = 0
			modifier = {
				check_variable = { ruling_party = 1 }
				check_variable = { ruling_party = 16 }
				add = 0.25
			}
		}
	}

	option = {
		name = usa.15.o2
		log = "[GetDateText]: [This.GetName]: usa.15.o2 executed"
		add_stability = 0.01
		USA_congress_small_support = yes
		set_temp_variable = { treasury_change = -0.5 }
		modify_treasury_effect = yes
		ai_chance = { base = 0.50 }
	}

	#Mobilize Diaster Relief
}

###Random Elections Events###
##Main Dispatch Event##
country_event = {
	id = usa.1000
	is_triggered_only = yes
	hidden = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	immediate = {
		log = "[GetDateText]: [Root.GetName]: event usa.1000 executed"
		random_list = {
			#Political Establishment Reinforced
			60 = {
				modifier = {
					congress_low_support_trigger = yes
					factor = 1.25
				}
				modifier = {
					has_idea = political_establishment
					factor = 5
				}
				country_event = { id = usa.21 days = 21 random_hours = 5 }
			}
			#Third Party Gains
			15 = {
				modifier = {
					NOT = { congress_low_support_trigger = yes }
					factor = 1.25
				}
				modifier = {
					has_stability > 0.40
					factor = 1.5
				}
				country_event = { id = usa.18 days = 20 random_hours = 5 }
			}
			#Rise of Leftism
			10 = {
				modifier = {
					has_stability > 0.40
					factor = 1.5
				}
				modifier = {
					check_variable = { party_pop_array^2 > 0.10 }
					check_variable = { party_pop_array^3 > 0.10 }
					factor = 1.25
				}
				modifier = {
					NOT = { congress_low_support_trigger = yes }
					factor = 1.25
				}
				country_event = { id = usa.17 days = 20 random_hours = 5 }
			}
			#Rise of Traditionalism
			8 = {
				modifier = {
					has_stability > 0.40
					factor = 1.5
				}
				modifier = {
					check_variable = { party_pop_array^1 > 0.10 }
					check_variable = { party_pop_array^14 > 0.10 }
					check_variable = { party_pop_array^20 > 0.10 }
					factor = 1.25
				}
				modifier = {
					NOT = { congress_low_support_trigger = yes }
					factor = 1.25
				}
				country_event = { id = usa.19 days = 20 random_hours = 5 }
			}
			#Anti-Globalization Protests
			7 = {
				modifier = {
					has_government = nationalist
					factor = 1.25
				}
				country_event = { id = usa.20 days = 20 random_hours = 5 }
			}
		}
	}
}

##Leftism Increased
country_event = {
	id = usa.17
	title = usa.17.t
	desc = usa.17.d
	picture = GFX_politics_left_wing
	is_triggered_only = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	#Okay
	option = {
		name = usa.17.a
		log = "[GetDateText]: [Root.GetName]: event usa.17.a"
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		set_temp_variable = { temp_outlook_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		hidden_effect = { country_event = { id = usa.1000 days = 120 random_hours = 20 } }
		ai_chance = { base = 1 }
	}
}

#Third Party Gains
country_event = {
	id = usa.18
	title = usa.18.t
	desc = usa.18.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { #A new alternative?
		name = usa.18.a
		log = "[GetDateText]: [This.GetName]: usa.18.o1 executed"
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		hidden_effect = { country_event = { id = usa.1000 days = 120 random_hours = 20 } }
		ai_chance = {
			base = 1
		}
	}
}
##Rise of Traditionalism
country_event = {
	id = usa.19
	title = usa.19.t
	desc = usa.19.desc
	picture = GFX_politics_far_right
	is_triggered_only = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = usa.19.a
		log = "[GetDateText]: [Root.GetName]: event usa.19.a"
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		hidden_effect = { country_event = { id = usa.1000 days = 120 random_hours = 20 } }
		ai_chance = { base = 1 }
	}
}

#Anti-Globalization Protests
country_event = {
	id = usa.20
	title = usa.20.t
	desc = usa.20.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { #The establishment is right.
		name = usa.20.o1
		log = "[GetDateText]: [This.GetName]: usa.20.o1 executed"
		add_popularity = { ideology = democratic popularity = 0.02 }
		recalculate_party = yes
		ai_chance = {
			base = 10
			modifier = {
				add = 5
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 5
				is_historical_focus_on = no
			}
			modifier = {
				add = 2
				has_government = democratic
			}
		}
	}

	option = { #The environmentalists are right.
		name = usa.20.o2
		log = "[GetDateText]: [This.GetName]: usa.20.o2 executed"
		add_popularity = { ideology = neutrality popularity = 0.02 }
		recalculate_party = yes
		ai_chance = {
			base = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				add = 2
				is_historical_focus_on = no
			}
			modifier = {
				add = 2
				has_government = neutrality
			}
		}
	}

	option = { #Perhaps we should listen to the nationalists?
		name = usa.20.o3
		log = "[GetDateText]: [This.GetName]: usa.20.o3 executed"
		add_popularity = { ideology = nationalist popularity = 0.02 }
		recalculate_party = yes
		ai_chance = {
			base = 0
		}
	}
}
#The Establishment is Reinforced
country_event = {
	id = usa.21
	title = usa.21.t
	desc = usa.21.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = usa.21.a
		log = "[GetDateText]: [Root.GetName]: event usa.21.a"
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		hidden_effect = { country_event = { id = usa.1000 days = 120 random_hours = 20 } }
		ai_chance = { base = 1 }
	}
}

#Elian Gonzalez seized by Federal Agents
country_event = {
	id = usa.22
	title = usa.22.t
	desc = usa.22.d
	picture = GFX_elian_gonzalez
	is_triggered_only = yes

	trigger = {
		tag = USA
		has_government = democratic
		NOT = { 
			has_country_flag = collapsed_nation 
			has_start_date > 2016.1.1 
		} 
	}

	option = { #The establishment is right.
		name = usa.22.o1
		log = "[GetDateText]: [This.GetName]: usa.22.o1 executed"
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.01 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 1
		}
	}
}

#Elian Gonzalez Alludes Capture
country_event = {
	id = usa.23
	title = usa.23.t
	desc = usa.23.d
	picture = GFX_elian_gonzalez
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { 
			has_country_flag = collapsed_nation 
			has_start_date > 2016.1.1 
		} 
	}

	option = { #Unfortunate
		name = usa.23.o1
		log = "[GetDateText]: [This.GetName]: usa.23.o1 executed"
		add_political_power = -50
		ai_chance = {
			base = 1
		}
	}
}

#United States vs Microsoft Corp
country_event = {
	id = usa.32
	title = usa.32.t
	desc = usa.32.d
	picture = GFX_court
	is_triggered_only = yes

	trigger = {
		tag = USA
		has_country_flag = USA_allowed_microsoft_merger
		NOT = { has_country_flag = collapsed_nation }
	}

	#Guilty
	option = {
		name = usa.32.o1
		log = "[GetDateText]: [This.GetName]: usa.32.o1 executed"
		add_political_power = 100
		set_temp_variable = { temp_opinion = -5 }
		change_wall_street_opinion = yes
		set_temp_variable = { modify_economic_regulation = 4 }
		USA_modify_economic_regulation = yes #Greater Regulations to Combat Monopolies
		ai_chance = {
			base = 1
		}
	}

	option = {
		name = usa.32.o2
		log = "[GetDateText]: [This.GetName]: usa.32.o2 executed"
		add_political_power = -50
		set_temp_variable = { temp_opinion = 7 }
		change_wall_street_opinion = yes
		country_event = { id = usa.33 days = 90 random_hours = 20 }
		ai_chance = { base = 0 }
	}

	#Not Guilty
}

#Microsoft allowed to expand further
country_event = {
	id = usa.33
	title = usa.33.t
	desc = usa.33.d
	picture = GFX_court
	is_triggered_only = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	#Increased Economic Prosperity
	option = {
		name = usa.33.o1
		log = "[GetDateText]: [This.GetName]: usa.33.o1 executed"
		increase_economic_growth = yes
		if = {
			limit = {
				811 = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
			}
			811 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		else_if = {
			limit = {
				811 = {
					free_building_slots = {
						building = industrial_complex
						size = 0
					}
				}
			}
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		set_temp_variable = { temp_opinion = 7 }
		change_wall_street_opinion = yes
		set_temp_variable = { temp_opinion = 5 }
		change_industrial_conglomerates_opinion = yes
		change_small_medium_business_owners_opinion = yes
		set_country_flag = USA_allowed_microsoft_monopoly
		ai_chance = { base = 1 }
	}
}

#Marine Corps Aircraft Crash near Marana, Arizona
country_event = {
	id = usa.34
	title = usa.34.t
	desc = usa.34.d
	picture = GFX_plane_crash
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 806 #Arizona
		NOT = { 
			has_country_flag = collapsed_nation 
			has_start_date > 2016.1.1 
		} 
	}

	option = {
		name = usa.34.o1
		log = "[GetDateText]: [This.GetName]: usa.34.o1 executed"
		add_political_power = -50
		add_manpower = -19
		set_temp_variable = { temp_opinion = -2 }
		change_the_military_opinion = yes
		ai_chance = { base = 1 }
	}
}

# Datapoint files for Chapter 11 bankruptcy
country_event = {
	id = usa.35
	title = usa.35.t
	desc = usa.35.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { 
			has_country_flag = collapsed_nation 
			has_start_date > 2016.1.1 
		} 
	}

	#It just how it be
	option = {
		name = usa.35.o1
		log = "[GetDateText]: [This.GetName]: usa.35.o1 executed"
		add_political_power = 150
		ai_chance = { #Historic Choice - Makes Life Easier
			base = 1
		}
	}

	option = {
		name = usa.35.o2
		log = "[GetDateText]: [This.GetName]: usa.35.o2 executed"
		set_temp_variable = { treasury_change = -1 }
		modify_treasury_effect = yes
		set_temp_variable = { temp_opinion = 7 }
		change_wall_street_opinion = yes
		ai_chance = { base = 0 }
	}

	#Save the Company!
}

#H.L. Hunley
country_event = {
	id = usa.36
	title = usa.36.t
	desc = usa.36.d
	picture = GFX_hunley
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	#A Succesful Operation
	option = {
		name = usa.36.o1
		log = "[GetDateText]: [This.GetName]: usa.36.o1 executed"
		#To Simulate Southern Support for Such Procedure
		USA_congress_medium_support = yes
		ai_chance = {
			base = 1
		}
	}
}

#Mac OS X - Only Shows Up if Microsoft is Granted A Monopoly in Technology
country_event = {
	id = usa.37
	title = usa.37.t
	desc = usa.37.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = USA_allowed_microsoft_monopoly }
		NOT = { has_country_flag = collapsed_nation }
	}

	#The Titans Clash
	option = {
		name = usa.37.o1
		log = "[GetDateText]: [This.GetName]: usa.37.o1 executed"
		set_temp_variable = { temp_opinion = 8 }
		change_wall_street_opinion = yes
		change_defense_industry_opinion = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = usa.37.o2
		log = "[GetDateText]: [This.GetName]: usa.37.o2 executed"
		set_temp_variable = { temp_opinion = -5 }
		change_wall_street_opinion = yes
		add_political_power = 100
		set_temp_variable = { modify_economic_regulation = 4 }
		USA_modify_economic_regulation = yes
		ai_chance = { base = 0 }
	}

	#Declare Apple's OS Illegal
}

#Martin County Oil Spill
country_event = {
	id = usa.38
	title = usa.38.t
	desc = usa.38.d
	picture = GFX_burning_oil_refinery
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 782 #Kentucky
		NOT = { has_country_flag = collapsed_nation }
	}

	#Send in the Feds
	option = {
		name = usa.38.o1
		log = "[GetDateText]: [This.GetName]: usa.38.o1 executed"
		add_political_power = -50
		set_temp_variable = { treasury_change = -0.40 }
		modify_treasury_effect = yes
		set_temp_variable = { temp_opinion = -3 }
		change_fossil_fuel_industry_opinion = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = usa.38.o2
		log = "[GetDateText]: [This.GetName]: usa.38.o2 executed"
		add_stability = -0.01
		set_temp_variable = { arg_popularity = -0.025 }
		add_ruling_outlook_popularity = yes
		ai_chance = { base = 0 }
	}

	#The local authorities are capable
}

#The Launch of Wikipedia
country_event = {
	id = usa.39
	title = usa.39.t
	desc = usa.39.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	#Freedom of Information
	option = {
		name = usa.39.o1
		log = "[GetDateText]: [This.GetName]: usa.39.o1 executed"
		add_political_power = 50
	}
}

#Syria: Shepherdstown Peace Talks
country_event = {
	id = usa.53
	title = usa.53.t
	desc = usa.53.d
	picture = GFX_court
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { tag = SYR }

	option = {
		name = usa.53.o1
		log = "[GetDateText]: [This.GetName]: usa.53.o1 executed"
		add_opinion_modifier = { target = ISR modifier = peace_talks }
		add_political_power = 50
		ai_chance = { base = 1 }
	}
}

#Gus Hall dies
country_event = {
	id = usa.60
	title = usa.60.t
	desc = usa.60.d
	picture = GFX_fathers_of_communism
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = USA_death_of_gus_hall }
		NOT = { has_country_flag = collapsed_nation }
	}

	immediate = { set_country_flag = USA_death_of_gus_hall }

	option = {
		name = usa.60.o1
		log = "[GetDateText]: [This.GetName]: usa.60.o1 executed"
		add_stability = 0.02
		ai_chance = { base = 100 }
	}

	option = {
		name = usa.60.o2
		log = "[GetDateText]: [This.GetName]: usa.60.o2 executed"
		add_political_power = -50
		add_stability = -0.01
		set_temp_variable = { temp_opinion = 3 }
		change_communist_cadres_opinion = yes
		if = {
			limit = {
				NOT = {
					OR = {
						check_variable = { ruling_party = 4 }
						is_in_array = { gov_coalition_array = 4 }
					}
				}
			}
			add_country_leader_trait = communist_sympathizer
		}
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		hidden_effect = {
			if = {
				limit = { has_government = communism }
				country_event = { id = usa.63 days = 1000 }
			}
		}
		ai_chance = { base = 0 }
	}
}

#Hall State
country_event = {
	id = usa.63
	title = usa.63.t
	desc = usa.63.d
	picture = GFX_politics_communism
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_government = communism
		has_country_flag = USA_death_of_gus_hall
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = usa.63.o1
		log = "[GetDateText]: [This.GetName]: usa.63.o1 executed"
		add_political_power = 20
		#State Names
		809 = { set_state_name = USA_809_name_comm } #Washington			#Arvo Kustaa Halberg (Gus Hall)
		790 = { set_state_name = USA_790_name_comm } #North Carolina		#Vladimir Lenin
		791 = { set_state_name = USA_791_name_comm } #South Carolina		#Karl Marx
		797 = { set_state_name = USA_797_name_comm } #Louisiana			#Louis Charles Delescluze
		773 = { set_state_name = USA_773_name_comm } #Virginia			#Joseph Stalin
		774 = { set_state_name = USA_774_name_comm } #West Virginia		#Mao Zedong
		792 = { set_state_name = USA_792_name_comm } #Georgia			#Malcolm X
		803 = { set_state_name = USA_803_name_comm } #New Mexico			#Manabendra Nath Roy
		765 = { set_state_name = USA_765_name_comm } #New Hampshire		#Albert Inkpin
		770 = { set_state_name = USA_770_name_comm } #New Jersey			#Earl Browder
		772 = { set_state_name = USA_772_name_comm } #Maryland			#Margot Honecker
		771 = { set_state_name = USA_771_name_comm } #Pennsylvania		#Eugene Debs
		769 = { set_state_name = USA_769_name_comm } #New York			#Friedrich Engels
		#Province Names
		set_province_name = { id = 3957 name = USA_3957_name_comm }
		set_temp_variable = { temp_opinion = 15 }
		change_communist_cadres_opinion = yes
		set_country_flag = washington_dc_renamed_due_to_gus_hall
		ai_chance = { base = 100 }
	}

	option = {
		name = usa.63.o2
		ai_chance = { base = 0 }
	}
}

#Hall State Reversal Event
country_event = {
	id = usa.70
	is_triggered_only = yes
	hidden = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_government = communism }
		has_country_flag = washington_dc_renamed_due_to_gus_hall
		NOT = { has_country_flag = collapsed_nation }
	}

	immediate = {
		log = "[GetDateText]: [This.GetName]: usa.70 executed"
		clr_country_flag = washington_dc_renamed_due_to_gus_hall
		809 = { set_state_name = USA_809_name }
		790 = { set_state_name = USA_790_name }
		791 = { set_state_name = USA_791_name }
		797 = { set_state_name = USA_797_name }
		773 = { set_state_name = USA_773_name }
		774 = { set_state_name = USA_774_name }
		792 = { set_state_name = USA_792_name }
		803 = { set_state_name = USA_803_name }
		765 = { set_state_name = USA_765_name }
		770 = { set_state_name = USA_770_name }
		772 = { set_state_name = USA_772_name }
		771 = { set_state_name = USA_771_name }
		769 = { set_state_name = USA_769_name }
		set_province_name = { id = 3957 name = USA_3957_name }
		set_temp_variable = { temp_opinion = -15 }
		change_communist_cadres_opinion = yes
	}
}

##NATO Interaction Events
#News Event - US deploys Armored Brigade to Eastern Europe
news_event = {
	id = USA_FOCUS.1
	title = USA_FOCUS.1.t
	desc = {
		text = USA_FOCUS.1.d1
		trigger = {
			OR = {
				tag = USA
				has_idea = NATO_member
				has_idea = Major_Non_NATO_Ally
			}
			NOT = {
				OR = {
					tag = SOV
					is_in_faction_with = SOV
				}
			}
		}
	}
	desc = {
		text = USA_FOCUS.1.d2
		trigger = {
			OR = {
				tag = SOV
				is_in_faction_with = SOV
			}
			NOT = {
				OR = {
					tag = USA
					has_idea = NATO_member
					has_idea = Major_Non_NATO_Ally
				}
			}
		}
	}
	desc = {
		text = USA_FOCUS.1.d3
		trigger = {
			NOT = {
				OR = {
					tag = SOV
					tag = USA
					has_idea = NATO_member
					has_idea = Major_Non_NATO_Ally
					is_in_faction_with = SOV
				}
			}
		}
	}
	picture = GFX_united_states_army
	is_triggered_only = yes
	major = yes

	option = {
		name = USA_FOCUS.1.a
		trigger = { tag = USA }
	}

	option = {
		name = USA_FOCUS.1.b
		trigger = {
			OR = {
				is_in_faction_with = SOV
				tag = SOV
			}
		}
	}

	option = {
		name = USA_FOCUS.1.c
		trigger = {
			has_idea = NATO_member
			has_idea = Major_Non_NATO_Ally
			NOT = { tag = USA }
		}
	}

	option = { name = USA_FOCUS.1.d }

	option = {
		name = USA_FOCUS.1.e
		trigger = { tag = POL }
	}
}

#US Armoured Brigade in E-Europe Activated - Spawns in Warsaw
country_event = {
	id = USA_FOCUS.2
	title = USA_FOCUS.2.t
	desc = USA_FOCUS.2.d
	picture = GFX_american_troops
	is_triggered_only = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 800
	}

	#Deploy - the E-Brigade
	option = {
		name = USA_FOCUS.2.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.2.a executed"
		hidden_effect = {
			if = {
				limit = { NOT = { has_template = "Armored Brigade" } }
				division_template = {
					name = "Armored Brigade"
					regiments = {
						armor_Bat = { x = 0 y = 0 }
						armor_Bat = { x = 0 y = 1 }
						Arm_Inf_Bat = { x = 0 y = 2 }
						Arm_Inf_Bat = { x = 0 y = 3 }
						SP_Arty_Bat = { x = 1 y = 0 }
						Arm_Inf_Bat = { x = 1 y = 1 }
						Mech_Inf_Bat = { x = 1 y = 2 }
					}
					support = {
						H_Engi_Comp = { x = 0 y = 0 }
						SP_Arty_Battery = { x = 0 y = 1 }
					}
				}
			}
			114 = {
				create_unit = {
					division = "division_template = \"Armored Brigade\" start_experience_factor = 0.3 start_equipment_factor = 0.50"
					owner = USA
					prioritize_location = 3544
					count = 1
				}
			}
		}
		custom_effect_tooltip = USA_deploy_e_brigade_tt
		news_event = { id = USA_FOCUS.1 days = 1 }
	}
}

#News Event - US deploys Armored Brigade to Turkey
news_event = {
	id = USA_FOCUS.3
	title = USA_FOCUS.3.t
	desc = {
		text = USA_FOCUS.3.d1
		trigger = {
			OR = {
				tag = USA
				has_idea = NATO_member
				has_idea = Major_Non_NATO_Ally
			}
			NOT = {
				OR = {
					tag = SOV
					tag = PER
					is_in_faction_with = PER
					is_in_faction_with = SOV
				}
			}
		}
	}
	desc = {
		text = USA_FOCUS.3.d2
		trigger = {
			OR = {
				tag = SOV
				tag = PER
				is_in_faction_with = PER
				is_in_faction_with = SOV
			}
			NOT = {
				OR = {
					tag = USA
					has_idea = NATO_member
					has_idea = Major_Non_NATO_Ally
				}
			}
		}
	}
	desc = {
		text = USA_FOCUS.3.d3
		trigger = {
			NOT = {
				OR = {
					tag = USA
					tag = SOV
					tag = PER
					is_in_faction_with = PER
					is_in_faction_with = SOV
					has_idea = NATO_member
					has_idea = Major_Non_NATO_Ally
				}
			}
		}
	}
	picture = GFX_united_states_army
	is_triggered_only = yes
	major = yes

	option = {
		name = USA_FOCUS.3.a
		trigger = { tag = USA }
	}

	option = {
		name = USA_FOCUS.3.b
		trigger = {
			OR = {
				tag = SOV
				tag = PER
				is_in_faction_with = PER
				is_in_faction_with = SOV
			}
		}
	}

	option = {
		name = USA_FOCUS.3.c
		trigger = {
			NOT = { tag = USA }
			has_idea = NATO_member
			has_idea = Major_Non_NATO_Ally
		}
	}

	option = {
		name = USA_FOCUS.3.d
		trigger = {
			NOT = {
				OR = {
					tag = USA
					tag = SOV
					tag = PER
					is_in_faction_with = PER
					is_in_faction_with = SOV
					has_idea = NATO_member
					has_idea = Major_Non_NATO_Ally
				}
			}
		}
	}

	option = { name = USA_FOCUS.3.e }
}

##US Armoured Brigade in Turkey Activated - Spawns in Ankara
country_event = {
	id = USA_FOCUS.4
	title = USA_FOCUS.4.t
	desc = USA_FOCUS.4.d
	picture = GFX_american_troops
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 808
		has_full_control_of_state = 809
		has_full_control_of_state = 810
	}

	#okay
	option = {
		name = USA_FOCUS.4.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.4.a executed"
		hidden_effect = {
			if = {
				limit = { NOT = { has_template = "Armored Brigade" } }
				division_template = {
					name = "Armored Brigade"
					regiments = {
						armor_Bat = { x = 0 y = 0 }
						armor_Bat = { x = 0 y = 1 }
						Arm_Inf_Bat = { x = 0 y = 2 }
						Arm_Inf_Bat = { x = 0 y = 3 }
						SP_Arty_Bat = { x = 1 y = 0 }
						Arm_Inf_Bat = { x = 1 y = 1 }
						Mech_Inf_Bat = { x = 1 y = 2 }
					}
					support = {
						H_Engi_Comp = { x = 0 y = 0 }
						SP_Arty_Battery = { x = 0 y = 1 }
					}
				}
			}
			159 = {
				create_unit = {
					division = "division_template = \"Armored Brigade\" start_experience_factor = 0.3 start_equipment_factor = 0.50"
					owner = USA
					count = 1
				}
			}
		}
		custom_effect_tooltip = USA_deploy_ankara_s_brigade_tt
		news_event = { id = USA_FOCUS.3 days = 1 }
		ai_chance = { base = 1 }
	}
}

##Condem Iran missile Launch
country_event = {
	id = USA_FOCUS.8
	title = USA_FOCUS.8.t
	desc = USA_FOCUS.8.d
	picture = GFX_missiles_on_road
	is_triggered_only = yes

	trigger = {
		country_exists = PER
		NOT = { original_tag = USA }
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { #Condem
		name = USA_FOCUS.8.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.8.a executed"
		add_opinion_modifier = { target = PER modifier = insult }
		reverse_add_opinion_modifier = { target = PER modifier = insult }
		reverse_add_opinion_modifier = { target = USA modifier = gratitude }
		add_political_power = 25
		ai_chance = { base = 50 }
	}

	option = { #No
		name = USA_FOCUS.8.b
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.8.b executed"
		add_opinion_modifier = { target = USA modifier = USA_Decline_PER_Embargo }
		reverse_add_opinion_modifier = { target = USA modifier = USA_Decline_PER_Embargo }
		ai_chance = { base = 50 }
	}
}

news_event = {
	id = USA_FOCUS.9
	title = USA_FOCUS.9.t
	desc = USA_FOCUS.9.d
	picture = GFX_USA_syria_missile_strike
	is_triggered_only = yes
	major = yes

	option = { #Yes
		name = USA_FOCUS.9.a
	}
}

#Arm Rojova
country_event = {
	id = USA_FOCUS.10
	title = USA_FOCUS.10.t
	desc = USA_FOCUS.10.d
	picture = GFX_generic_soldiers
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		country_exists = ROJ
		country_exists = ISI
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { #Yes
		name = USA_FOCUS.10.a
		log = "[GetDateText]: [This.GetName]: USA_FOCUS.10.a executed"
		ROJ = {
			add_equipment_to_stockpile = { type = infantry_weapons_4 amount = 2000 producer = USA }
			add_equipment_to_stockpile = { type = util_vehicle_5 amount = 100 producer = USA }
			add_equipment_to_stockpile = { type = Anti_tank_1 amount = 500 producer = USA }
			add_opinion_modifier = { target = USA modifier = USA_ROJ_ARMED }
		}
		TUR = {
			add_opinion_modifier = { target = USA modifier = USA_TUR_ARM_KURDS }
		}
		ai_chance = {
			base = 3
		}
	}

	option = { #No
		name = USA_FOCUS.10.b
		ai_chance = {
			base = 0.5
		}
	}
}

###American Economic Events###
# 2000's Recession
country_event = {
	id = usa_economic_events.init
	is_triggered_only = yes
	hidden = yes
	fire_only_once = yes

	mean_time_to_happen = {
		modifier = {
			factor = 1.5
			check_variable = { USA_economic_regulation_var < 30 }
		}
		modifier = {
			factor = 2.5
			check_variable = { USA_economic_regulation_var < 60 }
		}
		modifier = {
			factor = 2.5
			check_variable = { USA_economic_regulation_var < 90 }
		}
		modifier = {
			factor = 0.15
			check_variable = { USA_economic_regulation_var > 90 }
		}
		modifier = {
			factor = 0.25
			check_variable = { USA_strength_of_wall_street_var < 15 }
		}
		modifier = {
			factor = 1.5
			check_variable = { USA_strength_of_wall_street_var > 20 }
		}
		modifier = {
			factor = 2.0
			check_variable = { USA_strength_of_wall_street_var > 35 }
		}
		modifier = {
			factor = 2.5
			check_variable = { USA_strength_of_wall_street_var > 45 }
		}
		modifier = {
			factor = 1.5
			has_idea = wall_street
		}
		modifier = {
			factor = 0.75
			NOT = { has_idea = wall_street }
		}
		modifier = {
			factor = 1.75
			has_global_flag = USA_iraqi_energy_crisis
		}
		modifier = {
			factor = 0.75
			GRE = { has_active_mission = GRE_austerity_tension_mission }
		}
		modifier = {
			factor = 0.5
			GRE = { has_active_mission = GRE_debt_crisis_mission }
		}
		# Force it to trigger
		modifier = {
			factor = 3000
			has_game_rule = { rule = historic_events option = no }
			date > 2009.1.01
		}
		modifier = {
			factor = 0.30
			has_game_rule = { rule = historic_events option = no }
			date < 2006.1.1
		}
		modifier = {
			factor = 1.25
			has_game_rule = { rule = historic_events option = no }
			date > 2006.6.1
		}
		modifier = {
			factor = 1.25
			has_game_rule = { rule = historic_events option = no }
			date > 2007.1.1
		}
		modifier = {
			factor = 1.25
			has_game_rule = { rule = historic_events option = no }
			date > 2007.6.1
		}
		modifier = {
			factor = 1.25
			has_game_rule = { rule = historic_events option = no }
			date > 2008.6.1
		}
	}

	trigger = {
		original_tag = USA
		OR = {
			AND = {
				date > 2005.6.1
				has_game_rule = { rule = historic_events option = no }
			}
			AND = {
				date > 2008.1.1
				has_game_rule = { rule = historic_events option = yes }
			}
		}
		NOT = {
			OR = {
				has_country_flag = collapsed_nation
				has_country_flag = USA_housing_problems_detected
			}
		}
	}

	immediate = {
		set_global_flag = USA_great_financial_crisis #Global Flag for other Content Designing
		country_event = { id = usa_economic_events.1 days = 10 random_hours = 5 }
		# The AIG rescue
		country_event = { id = usa_economic_events.460 days = 30 }
		# The American Automotive Industrial Crisis
		country_event = { id = usa_economic_events.37 days = 45 random_days = 40 }
		# Luigi Event Chains
		country_event = { id = USA_econ_event.11 days = 7 random_days = 366 }
		country_event = { id = USA_econ_event.12 days = 7 random_days = 366 }
	}
}

##The Lehman Brothers Collapse!
country_event = {
	id = usa_economic_events.1
	title = usa_economic_events.1.t
	desc = usa_economic_events.1.d
	picture = GFX_lehmanbrothers
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = {
			OR = {
				has_start_date > 2016.1.1
				has_country_flag = collapsed_nation
				has_country_flag = USA_housing_problems_detected
			}
		}
	}

	#Oh no, nationalize it!
	option = {
		name = usa_economic_events.1.a
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.1.a"
		set_temp_variable = { treasury_change = -90 }
		modify_treasury_effect = yes
		recession = yes
		set_temp_variable = { temp_opinion = -5 }
		change_wall_street_opinion = yes
		custom_effect_tooltip = usa_economic_nationalize_tt
		set_country_flag = usa_nationalize_one
		hidden_effect = {
			country_event = { id = usa_economic_events.2 days = 40 random_hours = 30 }
			news_event = { id = usa_economic_events_news.1 days = 1 }
		}
		ai_chance = {
			base = 0
			modifier = {
				OR = {
					has_government = nationalist
					has_government = communism
				}
				factor = 2
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				nationalist > 0.30
				add = 1
			}
		}
	}

	option = {
		name = usa_economic_events.1.b
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.1.b"
		set_temp_variable = { treasury_change = -60 }
		modify_treasury_effect = yes
		recession = yes
		set_temp_variable = { temp_opinion = 5 }
		change_wall_street_opinion = yes
		custom_effect_tooltip = usa_economic_bailout_tt
		#Obama/Democrat Route to handling the crisis
		set_country_flag = usa_bailout_one
		hidden_effect = {
			country_event = { id = usa_economic_events.2 days = 40 random_hours = 30 }
			news_event = { id = usa_economic_events_news.1 days = 1 }
		}
		ai_chance = {
			base = 2
			modifier = {
				OR = {
					has_government = nationalist
					has_government = communism
				}
				factor = 0
			}
			modifier = {
				is_historical_focus_on = no
				factor = 0.50
			}
			modifier = {
				check_variable = { ruling_party = 2 }
				add = 2
			}
			modifier = {
				is_historical_focus_on = yes
				add = 5
			}
		}
	}

	option = {
		name = usa_economic_events.1.c
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.1.c"
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		recession = yes
		set_temp_variable = { temp_opinion = -5 }
		change_wall_street_opinion = yes
		custom_effect_tooltip = usa_economic_donothing_tt
		# Begins the Libertarian/Republican Method of a Laissez Faire Approach
		set_country_flag = usa_nothing_one
		hidden_effect = {
			news_event = { id = usa_economic_events_news.1 days = 1 }
			country_event = { id = usa_economic_events.2 days = 40 random_hours = 30 }
		}
		ai_chance = {
			base = 2
			modifier = {
				OR = {
					has_government = nationalist
					has_government = communism
				}
				factor = 0
			}
			modifier = {
				factor = 4
				check_variable = { ruling_party = 14 }
			}
			modifier = {
				add = 2
				check_variable = { ruling_party = 1 }
				check_variable = { ruling_party = 16 }
			}
		}
	}

	#Bailout the bank!
	# Let it take its course
}

# Fannie Mae & Freddie Mac!
country_event = {
	id = usa_economic_events.2
	title = usa_economic_events.2.t
	desc = usa_economic_events.2.d
	picture = GFX_fanniemae
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = {
			OR = {
				has_start_date > 2016.1.1
				has_country_flag = collapsed_nation
				has_country_flag = USA_housing_problems_detected
			}
		}
	}

	#Nationalize Them!
	option = {
		name = usa_economic_events.2.a
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.2.a"
		set_temp_variable = { treasury_change = -200 }
		modify_treasury_effect = yes
		custom_effect_tooltip = usa_economic_nationalize_tt
		set_country_flag = usa_nationalize_two
		hidden_effect = {
			news_event = { id = usa_economic_events_news.2 days = 2 }
			country_event = { id = usa_economic_events.3 days = 40 random_hours = 30 }
		}
		ai_chance = {
			base = 1
			modifier = {
				add = 1
				OR = {
					has_government = communism
					has_government = nationalist
				}
			}
			modifier = {
				add = 0.50
				nationalist > 0.30
			}
		}
	}

	option = {
		name = usa_economic_events.2.b
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.2.b"
		set_temp_variable = { treasury_change = -100 }
		modify_treasury_effect = yes
		custom_effect_tooltip = usa_economic_bailout_tt
		set_country_flag = usa_bailout_two
		hidden_effect = {
			news_event = { id = usa_economic_events_news.2 days = 2 }
			country_event = { id = usa_economic_events.3 days = 40 random_hours = 30 }
		}
		ai_chance = {
			base = 0.25
			modifier = {
				nationalist < 0.30
				add = 0.50
			}
		}
	}

	option = {
		name = usa_economic_events.2.c
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.2.c"
		set_temp_variable = { arg_popularity = -0.02 }
		add_ruling_outlook_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		custom_effect_tooltip = usa_economic_donothing_tt
		set_country_flag = usa_nothing_two
		hidden_effect = {
			news_event = { id = usa_economic_events_news.2 days = 2 }
			country_event = { id = usa_economic_events.3 days = 40 random_hours = 30 }
		}
		ai_chance = {
			base = 0
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
			modifier = {
				is_historical_focus_on = no
				add = 0.25
			}
			modifier = {
				has_government = neutrality
				add = 0.25
			}
		}
	}

	#Bail them out and let them be
	#Live and Let Be
}

#Bear Stearns - JPMorgan Chase merger
country_event = {
	id = usa_economic_events.3
	title = usa_economic_events.3.t
	desc = usa_economic_events.3.d
	picture = GFX_bearstearns
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		Tag = USA
		NOT = {
			OR = {
				has_start_date > 2016.1.1
				has_country_flag = collapsed_nation
				has_country_flag = USA_housing_problems_detected
			}
		}
	}

	#Nationalize Bear Stearns
	option = {
		name = usa_economic_events.3.a
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.3.a"
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		custom_effect_tooltip = usa_economic_nationalize_tt
		set_country_flag = usa_nationalize_three
		hidden_effect = {
			news_event = { id = usa_economic_events_news.3 days = 2 }
			country_event = { id = usa_economic_events.4 days = 40 random_hours = 30 }
		}
		ai_chance = { base = 1 }
	}

	option = {
		name = usa_economic_events.3.b
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.3.b"
		set_temp_variable = { treasury_change = -30 }
		modify_treasury_effect = yes
		custom_effect_tooltip = usa_economic_bailout_tt
		set_country_flag = usa_bailout_three #Labelled as bailout due to it "bailing" out BS with JPMorgan Chase
		hidden_effect = {
			news_event = { id = usa_economic_events_news.3 days = 2 }
			country_event = { id = usa_economic_events.4 days = 40 random_hours = 30 }
		}
		ai_chance = {
			base = 1
		}
	}

	option = {
		name = usa_economic_events.3.c
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.3.c"
		add_political_power = 50
		custom_effect_tooltip = usa_economic_donothing_tt
		set_country_flag = usa_nothing_three
		hidden_effect = {
			news_event = { id = usa_economic_events_news.3 days = 2 }
			country_event = { id = usa_economic_events.4 days = 40 random_hours = 30 }
		}
		ai_chance = { base = 1 }
	}

	#Allow the Merger
	#Deny the Merger - Who cares right?
}

#American international Group (AiG)
country_event = {
	id = usa_economic_events.4
	title = usa_economic_events.4.t
	desc = usa_economic_events.4.d
	picture = GFX_aig_headquarters
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = {
			OR = {
				has_start_date > 2016.1.1
				has_country_flag = collapsed_nation
				has_country_flag = USA_housing_problems_detected
			}
		}
	}

	#Nationalize the Company! - will lead to an offshoot event about the government citing the ownership as illegal - historical option in this case
	option = {
		name = usa_economic_events.4.a
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.4.a"
		set_temp_variable = { treasury_change = -180 }
		modify_treasury_effect = yes
		custom_effect_tooltip = usa_economic_nationalize_tt
		set_country_flag = usa_nationalize_four
		hidden_effect = {
			news_event = { id = usa_economic_events_news.4 days = 2 }
			country_event = { id = usa_economic_events.5 days = 40 random_hours = 30 }
		}
		ai_chance = { base = 1 }
	}

	option = {
		name = usa_economic_events.4.b
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.4.b"
		set_temp_variable = { treasury_change = -100 }
		modify_treasury_effect = yes
		custom_effect_tooltip = usa_economic_bailout_tt
		set_country_flag = usa_bailout_four
		hidden_effect = {
			news_event = { id = usa_economic_events_news.4 days = 2 }
			country_event = { id = usa_economic_events.5 days = 40 random_hours = 30 }
		}
		ai_chance = { base = 1 }
	}

	option = {
		name = usa_economic_events.4.c
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.4.c"
		add_political_power = 100
		add_stability = -0.02
		custom_effect_tooltip = usa_economic_donothing_tt
		set_country_flag = usa_nothing_four
		hidden_effect = {
			news_event = { id = usa_economic_events_news.4 days = 2 }
			country_event = { id = usa_economic_events.5 days = 40 random_hours = 30 }
		}
		ai_chance = { base = 1 }
	}

	#Bailout the Company - shoots off another event about a year later where AiG fails due to liquidity/securities
	#Let it fail
}

# The Housing Market Crashes!
country_event = {
	id = usa_economic_events.5
	title = usa_economic_events.5.t
	desc = usa_economic_events.5.d
	picture = GFX_foreclosure
	is_triggered_only = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = USA_american_recession_occurred }
	}

	#So?
	immediate = {
		CAN = { country_event = { id = canada.600 days = 1 } } #Canada Recession Event
		BOS = { country_event = { id = BOS_political.5 days = 20 random_days = 14 } }
		hidden_effect = {
			every_country = {
				limit = {
					NOT = { tag = CAN } # Custom content for Canada
					NOT = { tag = BOS } # Custom content for Bosnia (BOS_political.5)
					NOT = { tag = AST } # Custom content for Australia
					OR = {
						AND = {
							check_variable = { influence_array^0 = USA }
							check_variable = { influence_array_val^0 > 4.99 }
						}
						AND = {
							check_variable = { influence_array^1 = USA }
							check_variable = { influence_array_val^1 > 4.99 }
						}
						AND = {
							check_variable = { influence_array^2 = USA }
							check_variable = { influence_array_val^2 > 4.99 }
						}
						AND = {
							check_variable = { influence_array^3 = USA }
							check_variable = { influence_array_val^3 > 4.99 }
						}
						AND = {
							check_variable = { influence_array^4 = USA }
							check_variable = { influence_array_val^4 > 4.99 }
						}
						AND = {
							check_variable = { influence_array^5 = USA }
							check_variable = { influence_array_val^5 > 4.99 }
						}
						AND = {
							check_variable = { influence_array^6 = USA }
							check_variable = { influence_array_val^6 > 4.99 }
						}
						# Less Impacted but to ensure some loss for these nations
						original_tag = CHI
						original_tag = JAP
						original_tag = KOR
						original_tag = TAI
					}
				}
				country_event = { id = usa_economic_events.36 days = 1 random_days = 7 random_hours = 24 }
			}
			set_country_flag = USA_american_recession_occurred
			set_country_flag = { flag = USA_great_recession_minimum_time value = 1 days = 180 } # Minimum 6 months
		}
	}

	option = {
		name = usa_economic_events.5.a
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.5.a"
		add_political_power = 50
		if = { #Bailout and Nationalization - Nationalization is the most unstable. It is very unpredictable
			limit = {
				count_triggers = {
					amount = 5
					has_country_flag = usa_bailout_four
					has_country_flag = usa_bailout_three
					has_country_flag = usa_bailout_two
					has_country_flag = usa_bailout_one
					has_country_flag = usa_nationalize_four
					has_country_flag = usa_nationalize_three
					has_country_flag = usa_nationalize_two
					has_country_flag = usa_nationalize_one
					check_variable = { USA_strength_of_wall_street_var > 30 }
					check_variable = { USA_economic_regulation_var < 40 }
				}
			}
			random_list = {
				50 = { # Light crisis (most likely)
					add_timed_idea = {
						idea = USA_economic_crisis_light_idea
						days = 180
					}
					add_political_power = 50
				}
				30 = { # Medium crisis
					add_timed_idea = {
						idea = USA_economic_crisis_medium_idea
						days = 240
					}
					add_political_power = 75
					add_stability = -0.01
				}
				20 = { # Unexpectedly severe
					add_timed_idea = {
						idea = USA_economic_crisis_medium_idea
						days = 300
					}
					add_political_power = 100
					add_stability = -0.02
				}
			}
		}
		else_if = { #Bailout and Nationalization
			limit = {
				count_triggers = {
					amount = 5
					has_country_flag = usa_nationalize_four
					has_country_flag = usa_nationalize_three
					has_country_flag = usa_nationalize_two
					has_country_flag = usa_nationalize_one
					has_country_flag = usa_bailout_four
					has_country_flag = usa_bailout_three
					has_country_flag = usa_bailout_two
					has_country_flag = usa_bailout_one
					has_global_flag = USA_iraqi_energy_crisis
					check_variable = { USA_strength_of_wall_street_var > 10 }
					check_variable = { USA_economic_regulation_var < 60 }
				}
			}
			random_list = {
				40 = { # Medium crisis (most likely)
					add_timed_idea = {
						idea = USA_economic_crisis_medium_idea
						days = 270
					}
					add_political_power = 100
					add_stability = -0.025
				}
				35 = { # Light crisis (lucky outcome)
					add_timed_idea = {
						idea = USA_economic_crisis_light_idea
						days = 210
					}
					add_political_power = 75
					add_stability = -0.01
				}
				25 = { # Severe crisis
					add_timed_idea = {
						idea = USA_economic_crisis_severe_idea
						days = 330
					}
					add_political_power = 125
					add_stability = -0.04
				}
			}
		}
		else_if = { #Nationalization and Noting Can Lead Here
			limit = {
				count_triggers = {
					amount = 5
					has_country_flag = usa_nothing_four
					has_country_flag = usa_nothing_three
					has_country_flag = usa_nothing_two
					has_country_flag = usa_nothing_one
					has_country_flag = usa_nationalize_four
					has_country_flag = usa_nationalize_three
					has_country_flag = usa_nationalize_two
					has_country_flag = usa_nationalize_one
					has_global_flag = USA_iraqi_energy_crisis
					check_variable = { USA_strength_of_wall_street_var < 40 }
					check_variable = { USA_economic_regulation_var < 90 }
				}
			}
			random_list = {
				55 = { # Severe crisis (most likely)
					add_timed_idea = {
						idea = USA_economic_crisis_severe_idea
						days = 365
					}
					add_political_power = 150
					add_stability = -0.05
				}
				30 = { # Medium crisis (better than expected)
					add_timed_idea = {
						idea = USA_economic_crisis_medium_idea
						days = 300
					}
					add_political_power = 125
					add_stability = -0.035
				}
				15 = { # Catastrophic outcome
					add_timed_idea = {
						idea = USA_economic_crisis_severe_idea
						days = 450
					}
					add_political_power = 175
					add_stability = -0.07
				}
			}
		}
		ai_chance = {
			base = 0
			modifier = {
				is_historical_focus_on = no
				factor = 0.5
			}
			modifier = {
				OR = {
					check_variable = { ruling_party = 1 } #conservatism
					check_variable = { ruling_party = 14 }
					check_variable = { ruling_party = 20 }
					check_variable = { ruling_party = 13 }
					check_variable = { ruling_party = 16 }
				}
				add = 0.30
			}
		}
	}

	option = {
		name = usa_economic_events.5.b
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.5.b"
		set_temp_variable = { treasury_change = -150 }
		modify_treasury_effect = yes
		add_stability = 0.05
		if = { #Bailout and Nationalization - Nationalization is the most unstable. It is very unpredictable
			limit = {
				count_triggers = {
					amount = 5
					has_country_flag = usa_bailout_four
					has_country_flag = usa_bailout_three
					has_country_flag = usa_bailout_two
					has_country_flag = usa_bailout_one
					has_country_flag = usa_nationalize_four
					has_country_flag = usa_nationalize_three
					has_country_flag = usa_nationalize_two
					has_country_flag = usa_nationalize_one
					check_variable = { USA_strength_of_wall_street_var > 30 }
					check_variable = { USA_economic_regulation_var < 40 }
				}
			}
			random_list = {
				50 = { # Light crisis (most likely)
					add_timed_idea = {
						idea = USA_economic_crisis_light_idea
						days = 210
					}
					add_political_power = 200
				}
				30 = { # Medium crisis
					add_timed_idea = {
						idea = USA_economic_crisis_medium_idea
						days = 270
					}
					add_political_power = 225
					add_stability = -0.01
				}
				20 = { # Unexpectedly severe
					add_timed_idea = {
						idea = USA_economic_crisis_medium_idea
						days = 330
					}
					add_political_power = 250
					add_stability = -0.02
				}
			}
		}
		else_if = { #Bailout and Nationalization
			limit = {
				count_triggers = {
					amount = 5
					has_country_flag = usa_nationalize_four
					has_country_flag = usa_nationalize_three
					has_country_flag = usa_nationalize_two
					has_country_flag = usa_nationalize_one
					has_country_flag = usa_bailout_four
					has_country_flag = usa_bailout_three
					has_country_flag = usa_bailout_two
					has_country_flag = usa_bailout_one
					has_global_flag = USA_iraqi_energy_crisis
					check_variable = { USA_strength_of_wall_street_var > 10 }
					check_variable = { USA_economic_regulation_var < 60 }
				}
			}
			random_list = {
				40 = { # Medium crisis (most likely)
					add_timed_idea = {
						idea = USA_economic_crisis_medium_idea
						days = 250
					}
					add_political_power = 250
					add_stability = -0.025
				}
				35 = { # Light crisis (lucky outcome)
					add_timed_idea = {
						idea = USA_economic_crisis_light_idea
						days = 240
					}
					add_political_power = 225
					add_stability = -0.01
				}
				25 = { # Severe crisis
					add_timed_idea = {
						idea = USA_economic_crisis_severe_idea
						days = 360
					}
					add_political_power = 275
					add_stability = -0.04
				}
			}
		}
		else_if = { #Nationalization and Noting Can Lead Here
			limit = {
				count_triggers = {
					amount = 5
					has_country_flag = usa_nothing_four
					has_country_flag = usa_nothing_three
					has_country_flag = usa_nothing_two
					has_country_flag = usa_nothing_one
					has_country_flag = usa_nationalize_four
					has_country_flag = usa_nationalize_three
					has_country_flag = usa_nationalize_two
					has_country_flag = usa_nationalize_one
					has_global_flag = USA_iraqi_energy_crisis
					check_variable = { USA_strength_of_wall_street_var < 40 }
					check_variable = { USA_economic_regulation_var < 90 }
				}
			}
			random_list = {
				55 = { # Severe crisis (most likely)
					add_timed_idea = {
						idea = USA_economic_crisis_severe_idea
						days = 300
					}
					add_political_power = 350
					add_stability = -0.05
				}
				30 = { # Medium crisis (better than expected)
					add_timed_idea = {
						idea = USA_economic_crisis_medium_idea
						days = 330
					}
					add_political_power = 300
					add_stability = -0.035
				}
				15 = { # Catastrophic outcome
					add_timed_idea = {
						idea = USA_economic_crisis_severe_idea
						days = 480
					}
					add_political_power = 400
					add_stability = -0.07
				}
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				is_historical_focus_on = yes
				add = 2
			}
			modifier = {
				is_historical_focus_on = no
				factor = 0.5
			}
			modifier = {
				OR = {
					check_variable = { ruling_party = 1 } #conservatism
					check_variable = { ruling_party = 14 }
					check_variable = { ruling_party = 20 }
					check_variable = { ruling_party = 13 }
					check_variable = { ruling_party = 16 }
				}
				factor = 0.40
			}
		}
	}

	#Assist the Families
}

# Random Events Until Recession is Over
# Military Industry Leaves the USA
country_event = {
	id = usa_economic_events.31
	title = usa_economic_events.31.t
	desc = usa_economic_events.31.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_country_flag = USA_american_recession_occurred
		OR = {
			has_start_date > 2016.1.1
			has_idea = USA_economic_crisis_light_idea
			has_idea = USA_economic_crisis_medium_idea
			has_idea = USA_economic_crisis_severe_idea
		}
		OR = {
			has_start_date > 2016.1.1
			check_variable = { global.month = 2 }
			check_variable = { global.month = 4 }
			check_variable = { global.month = 6 }
			check_variable = { global.month = 8 }
			check_variable = { global.month = 10 }
			check_variable = { global.month = 12 }
		}
		any_owned_state = { check_variable = { building_level@arms_factory > 0 } }
	}

	# Oh no
	option = {
		name = usa_economic_events.31.a
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.31.a"
		set_temp_variable = { arg_popularity = -0.02 }
		add_ruling_outlook_popularity = yes
		random_owned_controlled_state = {
			limit = { check_variable = { building_level@arms_factory > 0 } }
			remove_building = {
				type = arms_factory
				level = 1
			}
		}
		random_owned_controlled_state = {
			limit = { check_variable = { building_level@arms_factory > 0 } }
			remove_building = {
				type = arms_factory
				level = 1
			}
		}
		ai_chance = { base = 1 }
	}
}

# Civilian Industry Leaves the United States
country_event = {
	id = usa_economic_events.32
	title = usa_economic_events.32.t
	desc = usa_economic_events.32.d
	picture = GFX_generic_factory
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		OR = {
			has_idea = USA_economic_crisis_light_idea
			has_idea = USA_economic_crisis_medium_idea
			has_idea = USA_economic_crisis_severe_idea
		}
		OR = {
			check_variable = { global.month = 2 }
			check_variable = { global.month = 4 }
			check_variable = { global.month = 6 }
			check_variable = { global.month = 8 }
			check_variable = { global.month = 10 }
			check_variable = { global.month = 12 }
		}
		has_country_flag = USA_american_recession_occurred
	}

	#Oh no
	option = {
		name = usa_economic_events.32.a
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.32.a"
		set_temp_variable = { arg_popularity = -0.02 }
		add_ruling_outlook_popularity = yes
		random_owned_controlled_state = {
			limit = { check_variable = { building_level@industrial_complex > 0 } }
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		random_owned_controlled_state = {
			limit = { check_variable = { building_level@industrial_complex > 0 } }
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		ai_chance = { base = 1 }
	}
}

# American Factories Close
country_event = {
	id = usa_economic_events.33
	title = usa_economic_events.33.t
	desc = usa_economic_events.33.d
	picture = GFX_economy_crisis
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		OR = {
			has_start_date > 2016.1.1
			has_idea = USA_economic_crisis_light_idea
			has_idea = USA_economic_crisis_medium_idea
			has_idea = USA_economic_crisis_severe_idea
		}
		OR = {
			check_variable = { global.month = 2 }
			check_variable = { global.month = 4 }
			check_variable = { global.month = 6 }
			check_variable = { global.month = 8 }
			check_variable = { global.month = 10 }
			check_variable = { global.month = 12 }
		}
		has_country_flag = USA_american_recession_occurred
	}

	option = {
		name = usa_economic_events.33.a
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.33.a"
		set_temp_variable = { arg_popularity = -0.025 }
		add_ruling_outlook_popularity = yes
		add_stability = -0.03
		set_temp_variable = { temp_opinion = -3 }
		change_wall_street_opinion = yes
		every_owned_state = {
			limit = { check_variable = { building_level@industrial_complex > 0 } }
			random_select_amount = 2
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		ai_chance = { base = 1 }
	}
}

# American Company Goes Bankrupt!
country_event = {
	id = usa_economic_events.34
	title = usa_economic_events.34.t
	desc = usa_economic_events.34.d
	picture = GFX_foreclosure
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		OR = {
			check_variable = { global.month = 2 }
			check_variable = { global.month = 4 }
			check_variable = { global.month = 6 }
			check_variable = { global.month = 8 }
			check_variable = { global.month = 10 }
			check_variable = { global.month = 12 }
		}
		has_country_flag = USA_american_recession_occurred
	}

	option = {
		name = usa_economic_events.34.a
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.34.a"
		set_temp_variable = { arg_popularity = -0.03 }
		add_ruling_outlook_popularity = yes
		set_temp_variable = { temp_opinion = -5 }
		change_wall_street_opinion = yes
		ai_chance = { base = 1 }
	}
}

# End of the American Recession
country_event = {
	id = usa_economic_events.35
	title = usa_economic_events.35.t
	desc = usa_economic_events.35.d
	picture = GFX_banking_crisis
	is_triggered_only = yes

	mean_time_to_happen = {
		modifier = {
			factor = 5
			OR = {
				has_idea = stable_growth
				has_idea = fast_growth
				has_idea = economic_boom
			}
		}
		modifier = {
			factor = 0.05
			NOT = { has_country_flag = USA_great_recession_minimum_time }
		}
	}

	# Glorious!
	trigger = {
		original_tag = USA
		NOT = { has_country_flag = USA_american_recession_over }
		has_country_flag = USA_american_recession_occurred
		has_global_flag = USA_great_financial_crisis
		OR = {
			has_start_date > 2016.1.1
			has_idea = stable_growth
			has_idea = fast_growth
			has_idea = economic_boom
		}
	}

	option = {
		name = usa_economic_events.35.a
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.35.a"
		add_stability = 0.05
		add_political_power = 100
		if = {
			limit = { has_idea = USA_economic_crisis_light_idea }
			remove_ideas = USA_economic_crisis_light_idea
		}
		else_if = {
			limit = { has_idea = USA_economic_crisis_medium_idea }
			remove_ideas = USA_economic_crisis_medium_idea
		}
		else_if = {
			limit = { has_idea = USA_economic_crisis_severe_idea }
			remove_ideas = USA_economic_crisis_severe_idea
		}
		set_country_flag = USA_american_recession_over
		news_event = { id = usa_economic_events_news.6 days = 1 }
		ai_chance = { base = 1 }
	}
}

# The Great Recession Reverberates
country_event = {
	id = usa_economic_events.36
	title = usa_economic_events.36.t
	desc = usa_economic_events.36.d
	picture = GFX_banking_crisis
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			set_variable = { american_influence_index = -1 }
			set_variable = { american_influence_value = -1 }
			for_each_loop = {
				array = influence_array
				value = v
				index = i
				if = {
					limit = { var:v = { original_tag = USA } }
					set_variable = { PREV.american_influence_index = i }
					set_variable = { PREV.american_influence_value = influence_array_val^i }
				}
			}
		}
	}

	# Inject liquidity!
	option = {
		name = usa_economic_events.36.a
		log = "[GetDateText]: [This.GetName]: usa_economic_events.36.a executed"
		log = "[GetDateText]: [This.GetName]: usa_economic_events.36.a"
		if = { limit = { check_variable = { american_influence_value > 5 } }
			every_owned_state = {
				limit = {
					OR = {
						check_variable = { building_level@industrial_complex > 0 }
						check_variable = { building_level@offices > 0 }
					}
				}
				random_select_amount = 1
				if = { limit = { check_variable = { building_level@industrial_complex > 0 } }
					remove_building = {
						type = industrial_complex
						level = 1
					}
				}
				if = { limit = { check_variable = { building_level@offices > 0 } }
					remove_building = {
						type = offices
						level = 1
					}
				}
			}
		}
		if = { limit = { check_variable = { american_influence_value > 25 } }
			every_owned_state = {
				limit = {
					OR = {
						check_variable = { building_level@industrial_complex > 0 }
						check_variable = { building_level@offices > 0 }
					}
				}
				random_select_amount = 2
				if = { limit = { check_variable = { building_level@industrial_complex > 0 } }
					remove_building = {
						type = industrial_complex
						level = 1
					}
				}
				if = { limit = { check_variable = { building_level@offices > 0 } }
					remove_building = {
						type = offices
						level = 1
					}
				}
			}
		}
		if = { limit = { check_variable = { american_influence_value > 35 } }
			every_owned_state = {
				limit = {
					OR = {
						check_variable = { building_level@industrial_complex > 0 }
						check_variable = { building_level@offices > 0 }
					}
				}
				random_select_amount = 2
				if = { limit = { check_variable = { building_level@industrial_complex > 0 } }
					remove_building = {
						type = industrial_complex
						level = 1
					}
				}
				if = { limit = { check_variable = { building_level@offices > 0 } }
					remove_building = {
						type = offices
						level = 1
					}
				}
			}
		}
		if = { limit = { check_variable = { american_influence_value > 75 } }
			every_owned_state = {
				limit = {
					OR = {
						check_variable = { building_level@industrial_complex > 0 }
						check_variable = { building_level@offices > 0 }
					}
				}
				random_select_amount = 2
				if = { limit = { check_variable = { building_level@industrial_complex > 0 } }
					remove_building = {
						type = industrial_complex
						level = 1
					}
				}
				if = { limit = { check_variable = { building_level@offices > 0 } }
					remove_building = {
						type = offices
						level = 1
					}
				}
			}
		}
		set_temp_variable = {
			treasury_change = {
				value = gdp_total
				multiply = -0.07
			}
		}
		modify_treasury_effect = yes
		if = {
			limit = {
				has_country_flag = trade_agreement@USA
				has_country_flag = mutual_investment_treaty_@USA
			}
			add_timed_idea = {
				idea = reverberations_of_the_great_financial_crisis
				days = 240
			}
		}
		else_if = {
			limit = {
				OR = {
					has_country_flag = trade_agreement@USA
					has_country_flag = mutual_investment_treaty_@USA
				}
			}
			add_timed_idea = {
				idea = reverberations_of_the_great_financial_crisis
				days = 180
			}
		}
		else = {
			add_timed_idea = {
				idea = reverberations_of_the_great_financial_crisis
				days = 100
			}
		}
		decrease_economic_growth = yes
		hidden_effect = {
			clear_variable = american_influence_value
			clear_variable = american_influence_index
		}
		ai_chance = { base = 1 }
	}

	option = {
		name = usa_economic_events.36.b
		log = "[GetDateText]: [This.GetName]: usa_economic_events.36.b executed"
		log = "[GetDateText]: [This.GetName]: usa_economic_events.36.b"
		if = { limit = { check_variable = { american_influence_value > 5 } }
			every_owned_state = {
				limit = {
					OR = {
						check_variable = { building_level@industrial_complex > 0 }
						check_variable = { building_level@offices > 0 }
					}
				}
				random_select_amount = 2
				if = { limit = { check_variable = { building_level@industrial_complex > 0 } }
					remove_building = {
						type = industrial_complex
						level = 1
					}
				}
				if = { limit = { check_variable = { building_level@offices > 0 } }
					remove_building = {
						type = offices
						level = 1
					}
				}
			}
		}
		if = { limit = { check_variable = { american_influence_value > 15 } }
			every_owned_state = {
				limit = {
					OR = {
						check_variable = { building_level@industrial_complex > 0 }
						check_variable = { building_level@offices > 0 }
					}
				}
				random_select_amount = 2
				if = { limit = { check_variable = { building_level@industrial_complex > 0 } }
					remove_building = {
						type = industrial_complex
						level = 1
					}
				}
				if = { limit = { check_variable = { building_level@offices > 0 } }
					remove_building = {
						type = offices
						level = 1
					}
				}
			}
		}
		if = { limit = { check_variable = { american_influence_value > 25 } }
			every_owned_state = {
				limit = {
					OR = {
						check_variable = { building_level@industrial_complex > 0 }
						check_variable = { building_level@offices > 0 }
					}
				}
				random_select_amount = 3
				if = { limit = { check_variable = { building_level@industrial_complex > 0 } }
					remove_building = {
						type = industrial_complex
						level = 1
					}
				}
				if = { limit = { check_variable = { building_level@offices > 0 } }
					remove_building = {
						type = offices
						level = 1
					}
				}
			}
		}
		if = { limit = { check_variable = { american_influence_value > 50 } }
			every_owned_state = {
				limit = {
					OR = {
						check_variable = { building_level@industrial_complex > 0 }
						check_variable = { building_level@offices > 0 }
					}
				}
				random_select_amount = 3
				if = { limit = { check_variable = { building_level@industrial_complex > 0 } }
					remove_building = {
						type = industrial_complex
						level = 1
					}
				}
				if = { limit = { check_variable = { building_level@offices > 0 } }
					remove_building = {
						type = offices
						level = 1
					}
				}
			}
		}
		if = {
			limit = {
				has_country_flag = trade_agreement@USA
				has_country_flag = mutual_investment_treaty_@USA
			}
			add_timed_idea = {
				idea = reverberations_of_the_great_financial_crisis
				days = 300
			}
		}
		else_if = {
			limit = {
				OR = {
					has_country_flag = trade_agreement@USA
					has_country_flag = mutual_investment_treaty_@USA
				}
			}
			add_timed_idea = {
				idea = reverberations_of_the_great_financial_crisis
				days = 240
			}
		}
		else = {
			add_timed_idea = {
				idea = reverberations_of_the_great_financial_crisis
				days = 160
			}
		}
		decrease_economic_growth = yes
		hidden_effect = {
			clear_variable = american_influence_value
			clear_variable = american_influence_index
		}
		ai_chance = { base = 1 }
	}

	# The Free Market...
}

# The American Automotive Industrial Crisis
country_event = {
	id = usa_economic_events.37
	title = usa_economic_events.37.t
	desc = usa_economic_events.37.d
	picture = GFX_USA_auto_industry_crisis
	is_triggered_only = yes

	# Can this get any worse?
	option = {
		name = usa_economic_events.37.a
		log = "[GetDateText]: [This.GetName]: usa_economic_events.37.a executed"
		log = "[GetDateText]: [This.GetName]: usa_economic_events.37.a"
		if = {
			limit = { 777 = { check_variable = { building_level@industrial_complex > 1 } } }
			777 = {
				remove_building = {
					type = industrial_complex
					level = 2
				}
			}
		}
		if = {
			limit = { 811 = { check_variable = { building_level@industrial_complex > 0 } } }
			811 = {
				remove_building = {
					type = industrial_complex
					level = 1
				}
			}
		}
		if = {
			limit = { 800 = { check_variable = { building_level@industrial_complex > 0 } } }
			800 = {
				remove_building = {
					type = industrial_complex
					level = 1
				}
			}
		}
		ai_chance = { base = 1 }
	}

	option = {
		name = usa_economic_events.37.b
		log = "[GetDateText]: [This.GetName]: usa_economic_events.37.b executed"
		log = "[GetDateText]: [This.GetName]: usa_economic_events.37.b"
		set_temp_variable = {
			treasury_change = {
				value = gdp_total
				multiply = -0.04
			}
		}
		modify_treasury_effect = yes
		if = {
			limit = { 777 = { check_variable = { building_level@industrial_complex > 1 } } }
			777 = {
				remove_building = {
					type = industrial_complex
					level = 1
				}
			}
		}
		if = {
			limit = { 811 = { check_variable = { building_level@industrial_complex > 0 } } }
			811 = {
				remove_building = {
					type = industrial_complex
					level = 1
				}
			}
		}
		ai_chance = { base = 0 }
	}

	# See if we can throw money at the problem...
}

# The 2003 Oil Crisis
country_event = {
	id = usa_economic_events.38
	title = usa_economic_events.38.t
	desc = usa_economic_events.38.d
	picture = GFX_USA_energy_crisis_2000s
	is_triggered_only = yes

	trigger = { original_tag = USA }

	# Well, the price of gas will be over 2.25!
	option = {
		name = usa_economic_events.38.a
		log = "[GetDateText]: [Root.GetName]: event usa_economic_events.38.a"
		add_timed_idea = {
			idea = USA_early_2000s_energy_crisis
			days = 210
		}
		set_global_flag = USA_iraqi_energy_crisis
		news_event = usa_economic_events_news.7
		newline = yes
		set_temp_variable = {
			new_price = {
				value = global.oil_price
				multiply = 1.25
			}
			tooltip = oil_new_price_tt
		}
		set_variable = { global.oil_price = new_price }
	}
}

# News - Lehman Brothers Collapse
news_event = {
	id = usa_economic_events_news.1
	title = usa_economic_events_news.1.t
	desc = {
		text = usa_economic_events_news.1.d3
		trigger = { USA = { has_country_flag = usa_nothing_one } }
	}
	picture = GFX_world_lehmanbrothers
	is_triggered_only = yes
	major = yes

	trigger = {
		NOT = { USA = { has_country_flag = collapsed_nation } }
		NOT = { USA = { has_country_flag = USA_housing_problems_detected } }
	}

	#Hecking Wall Street
	option = {
		name = usa_economic_events_news.1.a
		trigger = { tag = USA }
	}

	option = {
		name = usa_economic_events_news.1.b
		trigger = {
			NOT = { tag = USA }
			NOT = { tag = CHI }
			NOT = { tag = SOV }
			NOT = { is_in_faction_with = SOV }
			NOT = { is_in_faction_with = CHI }
			NOT = { has_government = fascism }
		}
	}

	option = {
		name = usa_economic_events_news.1.c
		trigger = {
			NOT = { tag = USA }
			OR = {
				tag = CHI
				tag = SOV
				is_in_faction_with = SOV
				is_in_faction_with = CHI
				has_government = fascism
			}
		}
	}

	#A Tragic Day
	#Pathetic
}

#News - Fannie Mae & Freddie Mac
news_event = {
	id = usa_economic_events_news.2
	title = usa_economic_events_news.2.t
	desc = {
		text = usa_economic_events_news.2.d1
		trigger = { USA = { has_country_flag = usa_nationalize_two } }
	}
	desc = {
		text = usa_economic_events_news.2.d2
		trigger = { USA = { has_country_flag = usa_bailout_two } }
	}
	desc = {
		text = usa_economic_events_news.2.d3
		trigger = { USA = { has_country_flag = usa_nothing_two } }
	}
	picture = GFX_world_fanniemae
	is_triggered_only = yes
	major = yes

	trigger = {
		NOT = { USA = { has_country_flag = collapsed_nation } }
		NOT = { USA = { has_country_flag = USA_housing_problems_detected } }
	}

	option = {
		name = usa_economic_events_news.2.a
		trigger = { tag = USA }
	}

	option = {
		name = usa_economic_events_news.2.b
		trigger = {
			NOT = { tag = USA }
			NOT = { tag = CHI }
			NOT = { tag = SOV }
			NOT = { is_in_faction_with = SOV }
			NOT = { is_in_faction_with = CHI }
			NOT = { has_government = fascism }
		}
	}

	option = {
		name = usa_economic_events_news.2.c
		trigger = {
			NOT = { tag = USA }
			OR = {
				tag = CHI
				tag = SOV
				is_in_faction_with = SOV
				is_in_faction_with = CHI
				has_government = fascism
			}
		}
	}

	#A Tragic Day
	#Pathetic
}

#News - Bear Stearns - JPMorgan Chase
news_event = {
	id = usa_economic_events_news.3
	title = usa_economic_events_news.3.t
	desc = {
		text = usa_economic_events_news.3.d1
		trigger = { USA = { has_country_flag = usa_nationalize_three } }
	}
	desc = {
		text = usa_economic_events_news.3.d2
		trigger = { USA = { has_country_flag = usa_bailout_three } }
	}
	desc = {
		text = usa_economic_events_news.3.d3
		trigger = { USA = { has_country_flag = usa_nothing_three } }
	}
	picture = GFX_world_bearstearns
	is_triggered_only = yes
	major = yes

	trigger = {
		NOT = { USA = { has_country_flag = collapsed_nation } }
		NOT = { USA = { has_country_flag = USA_housing_problems_detected } }
	}

	option = {
		name = usa_economic_events_news.3.a
		trigger = { tag = USA }
	}

	option = {
		name = usa_economic_events_news.3.b
		trigger = {
			NOT = { tag = USA }
			NOT = { tag = CHI }
			NOT = { tag = SOV }
			NOT = { is_in_faction_with = SOV }
			NOT = { is_in_faction_with = CHI }
			NOT = { has_government = fascism }
		}
	}

	option = {
		name = usa_economic_events_news.3.c
		trigger = {
			NOT = { tag = USA }
			OR = {
				tag = CHI
				tag = SOV
				is_in_faction_with = SOV
				is_in_faction_with = CHI
				has_government = fascism
			}
		}
	}

	#A Tragic Day
	#Pathetic
}

#American International Group (AiG)
news_event = {
	id = usa_economic_events_news.4
	title = usa_economic_events_news.4.t
	desc = {
		text = usa_economic_events_news.4.d3
		trigger = { USA = { has_country_flag = usa_nothing_four } }
	}
	picture = GFX_world_aig
	is_triggered_only = yes
	major = yes

	trigger = {
		NOT = { USA = { has_country_flag = collapsed_nation } }
		NOT = { USA = { has_country_flag = USA_housing_problems_detected } }
	}

	option = {
		name = usa_economic_events_news.4.a
		trigger = { tag = USA }
	}

	option = {
		name = usa_economic_events_news.4.b
		trigger = {
			NOT = { tag = USA }
			NOT = { tag = CHI }
			NOT = { tag = SOV }
			NOT = { is_in_faction_with = SOV }
			NOT = { is_in_faction_with = CHI }
			NOT = { has_government = fascism }
		}
	}

	option = {
		name = usa_economic_events_news.4.c
		trigger = {
			NOT = { tag = USA }
			OR = {
				tag = CHI
				tag = SOV
				is_in_faction_with = SOV
				is_in_faction_with = CHI
				has_government = fascism
			}
		}
	}

	#A Tragic Day
	#Pathetic
}

#End of the American Recession
news_event = {
	id = usa_economic_events_news.6
	title = usa_economic_events_news.6.t
	desc = usa_economic_events_news.6.d
	picture = GFX_world_stockmarket
	is_triggered_only = yes
	major = yes

	trigger = {
		NOT = {
			USA = {
				has_country_flag = collapsed_nation
				has_country_flag = USA_housing_problems_detected
			}
		}
	}

	show_major = {
		NOT = {
			tag = AST #custom aftershock content
		}
	}
	#Hecking Wall Street
	option = {
		name = usa_economic_events_news.6.a
		trigger = { tag = USA }
	}

	option = {
		name = usa_economic_events_news.6.b
		trigger = {
			NOT = { tag = USA }
			NOT = { tag = CHI }
			NOT = { tag = SOV }
			NOT = { is_in_faction_with = SOV }
			NOT = { is_in_faction_with = CHI }
			NOT = { has_government = fascism }
		}
	}

	option = {
		name = usa_economic_events_news.6.c
		trigger = {
			NOT = { tag = USA }
			OR = {
				tag = CHI
				tag = SOV
				is_in_faction_with = SOV
				is_in_faction_with = CHI
				has_government = fascism
			}
		}
	}

	#A Tragic Day
	#Pathetic
}

news_event = {
	id = usa_economic_events_news.7
	title = usa_economic_events_news.7.t
	desc = usa_economic_events_news.7.d
	picture = GFX_world_stockmarket
	is_triggered_only = yes
	major = yes

	option = {
		log = "[GetDateText]: [This.GetName]: usa_economic_events_news.7.a executed"
		name = usa_economic_events_news.7.a
		custom_effect_tooltip = oil_current_price_tt
	}
}

########################## Asteroid Mining Event Chain #########################
#Launching the Asteroid Mining Initiative
country_event = {
	id = donald_trump.8
	title = donald_trump.8.t
	desc = donald_trump.8.d
	picture = GFX_trump_announcement
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Just need to wait for an asteroid...
		name = donald_trump.8.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.8.o1 executed"
		hidden_effect = {
			country_event = {
				id = donald_trump.9
				days = 10
				random_hours = 4800
			}
		}
		news_event = donald_trump_news.2
		custom_effect_tooltip = asteroid_mining_wait_period_tt
	}
}
#Asteroid Spotted
country_event = {
	id = donald_trump.9
	title = donald_trump.9.t
	desc = donald_trump.9.d
	picture = GFX_asteroid
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Let's get that baby into orbit
		name = donald_trump.9.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.9.o1 executed"
		hidden_effect = {
			country_event = {
				id = donald_trump.10
				days = 50
				random_hours = 1200
			}
		}
		custom_effect_tooltip = asteroid_mining_spotted_tt
	}
}
#Asteroid in Orbit
country_event = {
	id = donald_trump.10
	title = donald_trump.10.t
	desc = donald_trump.10.d
	picture = GFX_asteroid_in_orbit
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Mining shall begin
		name = donald_trump.10.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.10.o1 executed"
		hidden_effect = {
			country_event = {
				id = donald_trump.11
				days = 100
				random_hours = 2400
			}
		}
		custom_effect_tooltip = asteroid_mining_orbit_tt
		add_to_variable = { asteroid_mining_rate = 2 } #It's set here so the next event's localization isn't screwed up
		add_to_variable = { global.asteroid_mining_rate = 2 }
	}
}
#Profits from Mining Start Pouring in
country_event = {
	id = donald_trump.11
	title = donald_trump.11.t
	desc = donald_trump.11.d
	picture = GFX_asteroid_in_orbit
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Huzzah!
		name = donald_trump.11.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.11.o1 executed"
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.002 }
		change_relative_party_popularity = yes
		capital_scope = {
			add_resource = {
				type = tungsten
				amount = 1
			}
			add_resource = {
				type = steel
				amount = 2
			}
		}
		add_to_variable = { global.asteroid_mineral_count = 100 }
		custom_effect_tooltip = asteroid_mining_mined_tt
		add_to_variable = { treasury = asteroid_mining_rate }
		custom_effect_tooltip = asteroid_mining_revenue_tt
		set_country_flag = asteroid_mining
		news_event = donald_trump_news.3
	}
}
#Profits from Asteroid Mining
country_event = {
	id = donald_trump.12
	title = donald_trump.12.t
	desc = donald_trump.12.d
	picture = GFX_asteroid_in_orbit
	is_triggered_only = yes

	option = { #Excellent!
		name = donald_trump.12.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.12.o1 executed"
		if = {
			limit = {
				check_variable = {
					var = global.asteroid_mineral_count
					value = asteroid_mining_rate
					compare = greater_than_or_equals
				}
			}
			custom_effect_tooltip = asteroid_mining_mined_tt
			add_to_variable = { treasury = asteroid_mining_rate }
			subtract_from_variable = { global.asteroid_mineral_count = asteroid_mining_rate }
			custom_effect_tooltip = asteroid_mining_revenue_tt
		}
		else = {
			custom_effect_tooltip = asteroid_mining_not_enough_tt
		}
		hidden_effect = {
			if = {
				limit = {
					NOT = { has_global_flag = asteroid_mining_start }
				}
				set_global_flag = asteroid_mining_start
				every_country = {
					limit = {
						num_of_factories > 40
					}
					country_event = { days = 20 id = donald_trump.13 }
				}
			}
		}
	}
}
#Potential for Asteroid Mining
country_event = {
	id = donald_trump.13
	title = donald_trump.13.t
	desc = donald_trump.13.d
	picture = GFX_asteroid_in_orbit
	is_triggered_only = yes

	option = { #Invest in Asteroid Mining
		name = donald_trump.13.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.13.o1 executed"
		add_political_power = -50
		set_temp_variable = { treasury_change = -25 }
		modify_treasury_effect = yes
		add_to_variable = { asteroid_mining_rate = 1 }
		add_to_variable = { global.asteroid_mining_rate = 1 }
		capital_scope = {
			add_resource = {
				type = steel
				amount = 1
			}
		}
		custom_effect_tooltip = asteroid_mining_opportunity_tt
		set_country_flag = asteroid_mining
		set_global_flag = asteroid_mining
	}

	option = { #Too expensive and a waste of our time!
		name = donald_trump.13.o2
	}
}

########################## Mission to Mars Event Chain ##########################
#Mission to Mars
country_event = {
	id = donald_trump.23
	title = donald_trump.23.t
	desc = donald_trump.23.d
	picture = GFX_nasa
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Preparations shall begin
		name = donald_trump.23.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.23.o1 executed"
		add_political_power = -10
		hidden_effect = {
			random_list = {
				50 = {
					news_event = {
						id = donald_trump_news.4
						days = 25
					}
					country_event = {
						id = donald_trump.14
						days = 365
					}
				}
				50 = {
					news_event = {
						id = donald_trump_news.5
						days = 25
					}
					country_event = {
						id = donald_trump.24
						days = 30
					}
					set_country_flag = space_race
				}
			}
		}
	}
}
#Space Race
country_event = {
	id = donald_trump.24
	title = donald_trump.24.t
	desc = donald_trump.24.d
	picture = GFX_spacex_announcement
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Space Race it is!
		name = donald_trump.24.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.24.o1 executed"
		add_political_power = -50
		set_temp_variable = { treasury_change = -5 }
		modify_treasury_effect = yes
		hidden_effect = {
			country_event = {
				id = donald_trump.14
				days = 265
			}
		}
		custom_effect_tooltip = mission_to_mars_space_race_tt
	}

	option = { #Continue at the current pace
		name = donald_trump.24.o2
		log = "[GetDateText]: [This.GetName]: donald_trump.24.o2 executed"
		add_political_power = 10
		hidden_effect = {
			country_event = {
				id = donald_trump.14
				days = 335
			}
		}
		custom_effect_tooltip = mission_to_mars_current_pace_tt
	}
}
#Mission to Mars Ready
country_event = {
	id = donald_trump.14
	title = donald_trump.14.t
	desc = donald_trump.14.d
	picture = GFX_nasa
	is_triggered_only = yes
	fire_only_once = yes

	option = { #30 days until launch!
		name = donald_trump.14.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.14.o1 executed"
		add_political_power = -10
		hidden_effect = {
			country_event = {
				id = donald_trump.15
				days = 30
			}
			country_event = {
				id = donald_trump.25
				days = 130
				random_hours = 4800
			}
		}
	}
}
#On the Launch Pad
country_event = {
	id = donald_trump.15
	title = donald_trump.15.t
	desc = donald_trump.15.d
	picture = GFX_nasa_launch_pad_mars
	is_triggered_only = yes
	fire_only_once = yes

	option = { #3, 2, 1...
		name = donald_trump.15.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.15.o1 executed"
		hidden_effect = {
			random_list = {
				99 = {
					country_event = donald_trump.16
				}
				1 = {
					country_event = donald_trump.17
				}
			}
		}
	}
}
#Lift off!
country_event = {
	id = donald_trump.16
	title = donald_trump.16.t
	desc = donald_trump.16.d
	picture = GFX_nasa_launch_mars
	is_triggered_only = yes
	fire_only_once = yes

	option = { #An exciting day in history
		name = donald_trump.16.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.16.o1 executed"
		add_political_power = 50
		add_stability = 0.03
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.002 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.002 }
		change_relative_party_popularity = yes
		hidden_effect = {
			random_list = {
				75 = {
					country_event = {
						id = donald_trump.21
						days = 210
					}
				}
				25 = {
					country_event = {
						id = donald_trump.18
						days = 180
					}
				}
			}
		}
	}
}
#Disaster Strikes!
country_event = {
	id = donald_trump.17
	title = donald_trump.17.t
	desc = donald_trump.17.d
	picture = GFX_rocket_explosion
	is_triggered_only = yes
	fire_only_once = yes

	option = { #A fatal accident
		name = donald_trump.17.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.17.o1 executed"
		add_political_power = -75
		add_stability = -0.02
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = -0.02 }
		change_relative_party_popularity = yes
		if = {
			limit = {
				NOT = {
					OR = {
						has_country_flag = space_race
						has_country_flag = spacex_reaches_mars_first
					}
				}
			}
			custom_effect_tooltip = mission_to_mars_chain_end_tt
		}
		news_event = donald_trump_news.6
	}
}
#Insanity in Space
country_event = {
	id = donald_trump.18
	title = donald_trump.18.t
	desc = donald_trump.18.d
	picture = GFX_nasa_orion_space_capsule
	is_triggered_only = yes
	fire_only_once = yes

	option = { #If the remaining astronauts are ready for it, then let them go
		name = donald_trump.18.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.18.o1 executed"
		add_political_power = -75
		hidden_effect = {
			country_event = {
				id = donald_trump.20
				days = 80
			}
		}
	}

	option = { #Let's get our men and women home, and arrest that son of a bitch
		name = donald_trump.18.o2
		log = "[GetDateText]: [This.GetName]: donald_trump.18.o2 executed"
		add_political_power = -25
		hidden_effect = {
			country_event = {
				id = donald_trump.19
				days = 360
			}
		}
	}
}
#Shamed Return
country_event = {
	id = donald_trump.19
	title = donald_trump.19.t
	desc = donald_trump.19.d
	picture = GFX_astronauts
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Unfortunate, but at least they're alive
		name = donald_trump.19.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.19.o1 executed"
		add_political_power = 100
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = -0.01 }
		change_relative_party_popularity = yes
		if = {
			limit = {
				NOT = {
					OR = {
						has_country_flag = space_race
						has_country_flag = spacex_reaches_mars_first
					}
				}
			}
			custom_effect_tooltip = mission_to_mars_chain_end_tt
		}
	}
}
#Sacrifice on Mars
country_event = {
	id = donald_trump.20
	title = donald_trump.20.t
	desc = donald_trump.20.d
	picture = GFX_trump_sad
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Martyrs on Mars
		name = donald_trump.20.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.20.o1 executed"
		add_political_power = 50
		if = {
			limit = {
				NOT = {
					OR = {
						has_country_flag = space_race
						has_country_flag = spacex_reaches_mars_first
					}
				}
			}
			custom_effect_tooltip = mission_to_mars_chain_end_tt
		}
	}
}
#The Eagle has Landed
country_event = {
	id = donald_trump.21
	title = donald_trump.21.t
	desc = {
		text = donald_trump.21.d2
		trigger = { has_country_flag = spacex_reaches_mars_first }
	}
	picture = GFX_manned_mission_mars
	is_triggered_only = yes
	fire_only_once = yes

	immediate = {
		if = {
			limit = { NOT = { has_country_flag = spacex_reaches_mars_first } }
			set_country_flag = nasa_reaches_mars_first
		}
	}

	option = { #Hip Hip Hurray for the USA!
		name = donald_trump.21.o1
		trigger = {
			NOT = {
				has_country_flag = spacex_reaches_mars_first
			}
		}
		log = "[GetDateText]: [This.GetName]: donald_trump.21.o1 executed"
		add_political_power = 150
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.04 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		hidden_effect = {
			country_event = {
				id = donald_trump.22
				days = 400
			}
			news_event = donald_trump_news.7
		}
	}

	option = { #Second isn't so bad
		name = donald_trump.21.o2
		trigger = {
			has_country_flag = spacex_reaches_mars_first
		}
		log = "[GetDateText]: [This.GetName]: donald_trump.21.o2 executed"
		add_political_power = 50
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.01 }
		change_relative_party_popularity = yes
		hidden_effect = {
			country_event = {
				id = donald_trump.22
				days = 400
			}
		}
	}
}
#Heroic Return
country_event = {
	id = donald_trump.22
	title = donald_trump.22.t
	desc = {
		text = donald_trump.22.d2
		trigger = { has_country_flag = spacex_reaches_mars_first }
	}
	picture = GFX_astronauts
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Our heroes are home
		name = donald_trump.22.o1
		trigger = {
			NOT = {
				has_country_flag = spacex_reaches_mars_first
			}
		}
		log = "[GetDateText]: [This.GetName]: donald_trump.22.o1 executed"
		add_political_power = 250
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.01 }
		change_relative_party_popularity = yes
		custom_effect_tooltip = mission_to_mars_chain_end_tt
	}

	option = { #They're home
		name = donald_trump.22.o2
		trigger = {
			has_country_flag = spacex_reaches_mars_first
		}
		log = "[GetDateText]: [This.GetName]: donald_trump.22.o2 executed"
		add_political_power = 50
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.002 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.002 }
		change_relative_party_popularity = yes
		custom_effect_tooltip = mission_to_mars_chain_end_tt
	}
}
#SpaceX Reaches Mars
country_event = {
	id = donald_trump.25
	title = donald_trump.25.t
	desc = {
		text = donald_trump.25.d2
		trigger = { has_country_flag = nasa_reaches_mars_first }
	}
	picture = GFX_spacex_mars
	is_triggered_only = yes
	fire_only_once = yes

	immediate = {
		if = {
			limit = { NOT = { has_country_flag = nasa_reaches_mars_first } }
			set_country_flag = spacex_reaches_mars_first
		}
	}

	option = { #Regardless of who does it first, it's still an amazing accomplishment
		name = donald_trump.25.o1
		trigger = {
			NOT = {
				has_country_flag = nasa_reaches_mars_first
			}
		}
		log = "[GetDateText]: [This.GetName]: donald_trump.25.o1 executed"
		add_political_power = 100
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.01 }
		change_relative_party_popularity = yes
		news_event = donald_trump_news.8
	}

	option = { #It's still an amazing accomplishment
		name = donald_trump.25.o2
		trigger = {
			has_country_flag = nasa_reaches_mars_first
		}
		log = "[GetDateText]: [This.GetName]: donald_trump.25.o2 executed"
		add_political_power = 25
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.002 }
		change_relative_party_popularity = yes
		set_country_flag = spacex_reaches_mars_first
	}
}

########################## Lunar Outpost Event Chain ##########################
#Outpost on the Moon
country_event = {
	id = donald_trump.26
	title = donald_trump.26.t
	desc = donald_trump.26.d
	picture = GFX_nasa
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Launch!
		name = donald_trump.26.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.26.o1 executed"
		news_event = donald_trump_news.9
		hidden_effect = {
			country_event = { id = donald_trump.27 days = 20 random_hours = 480 }
		}
	}
}

#Moonbase Alpha
country_event = {
	id = donald_trump.27
	title = donald_trump.27.t
	desc = donald_trump.27.d
	picture = GFX_moonbase_construction
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Science!
		name = donald_trump.27.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.27.o1 executed"
		add_political_power = -10
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.002 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.002 }
		change_relative_party_popularity = yes
		advance_moon_base = yes
	}
}

#Colony Progresses
country_event = {
	id = donald_trump.28
	title = donald_trump.28.t
	desc = donald_trump.28.d
	picture = GFX_moonbase_construction
	is_triggered_only = yes
	fire_only_once = yes

	option = { #We're good at being pioneers
		name = donald_trump.28.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.28.o1 executed"
		add_political_power = 20
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.002 }
		change_relative_party_popularity = yes
		advance_moon_base = yes
		swap_ideas = {
			remove_idea = continued_space_efforts5
			add_idea = continued_space_efforts6
		}
		news_event = donald_trump_news.10
	}
}

#Crisis on the Moon
country_event = {
	id = donald_trump.29
	title = donald_trump.29.t
	desc = donald_trump.29.d
	picture = GFX_moonbase
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Send emergency aid!
		name = donald_trump.29.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.29.o1 executed"
		add_political_power = -75
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = -0.01 }
		change_relative_party_popularity = yes
		advance_moon_base = yes
	}

	option = { #Abandon the project. It's not meant for us
		name = donald_trump.29.o2
		log = "[GetDateText]: [This.GetName]: donald_trump.29.o2 executed"
		add_political_power = 25
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = -0.01 }
		change_relative_party_popularity = yes
		news_event = donald_trump_news.11
	}
}

#Colony Progresses Further
country_event = {
	id = donald_trump.30
	title = donald_trump.30.t
	desc = donald_trump.30.d
	picture = GFX_moonbase_construction
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Life continues on
		name = donald_trump.30.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.30.o1 executed"
		add_political_power = 30
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.002 }
		change_relative_party_popularity = yes
		advance_moon_base = yes
		swap_ideas = {
			remove_idea = continued_space_efforts6
			add_idea = continued_space_efforts7
		}
	}
}

#Another Crisis on the Moon
country_event = {
	id = donald_trump.31
	title = donald_trump.31.t
	desc = donald_trump.31.d
	picture = GFX_moonbase
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Send more emergency aid!
		name = donald_trump.31.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.31.o1 executed"
		add_political_power = -100
		set_temp_variable = { treasury_change = -5 }
		modify_treasury_effect = yes
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = -0.01 }
		change_relative_party_popularity = yes
		advance_moon_base = yes
	}

	option = { #We can't continue doing things like this.
		name = donald_trump.31.o2
		log = "[GetDateText]: [This.GetName]: donald_trump.31.o2 executed"
		add_political_power = 50
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = -0.01 }
		change_relative_party_popularity = yes
		news_event = donald_trump_news.11
	}
}

#Moonbase Beta
country_event = {
	id = donald_trump.32
	title = donald_trump.32.t
	desc = donald_trump.32.d
	picture = GFX_moonbase
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Huzzah!
		name = donald_trump.32.o1
		log = "[GetDateText]: [This.GetName]: donald_trump.32.o1 executed"
		add_political_power = 50
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.01 }
		change_relative_party_popularity = yes
		swap_ideas = {
			remove_idea = continued_space_efforts7
			add_idea = continued_space_efforts8
		}
		custom_effect_tooltip = moonbase_chain_end_tt
	}
}

#US Launches Asteroid Mining Initiative
news_event = {
	id = donald_trump_news.2
	title = donald_trump_news.2.t
	desc = donald_trump_news.2.d
	picture = GFX_news_trump_announcement
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { #Space!
		trigger = {
			original_tag = USA
		}
		name = donald_trump_news.2.o1
	}

	option = { #Maybe we could expand into this...
		trigger = {
			num_of_factories > 25
			NOT = { original_tag = USA }
		}
		name = donald_trump_news.2.o2
	}

	option = { #Interesting
		trigger = {
			NOT = {
				OR = {
					num_of_factories > 25
					original_tag = USA
				}
			}
		}
		name = donald_trump_news.2.o3
	}
}

#US Sets up Asteroid Mining Operations
news_event = {
	id = donald_trump_news.3
	title = donald_trump_news.3.t
	desc = donald_trump_news.3.d
	picture = GFX_news_asteroid_in_orbit
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { #Space!
		trigger = {
			original_tag = USA
		}
		name = donald_trump_news.3.o1
	}

	option = { #We really should expand into this
		trigger = {
			num_of_factories > 25
			NOT = { original_tag = USA }
		}
		name = donald_trump_news.3.o2
	}

	option = { #Interesting
		trigger = {
			NOT = {
				OR = {
					num_of_factories > 25
					original_tag = USA
				}
			}
		}
		name = donald_trump_news.3.o3
	}
}
#NASA Plans Manned Mission to Mars
news_event = {
	id = donald_trump_news.4
	title = donald_trump_news.4.t
	desc = donald_trump_news.4.d
	picture = GFX_news_spacex_announcement
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { #We must go!
		trigger = {
			original_tag = USA
		}
		name = donald_trump_news.4.o1
	}

	option = { #Exciting
		trigger = {
			NOT = {
				original_tag = USA
			}
		}
		name = donald_trump_news.4.o2
	}
}

#SpaceX Announces Space Race with NASA
news_event = {
	id = donald_trump_news.5
	title = donald_trump_news.5.t
	desc = donald_trump_news.5.d
	picture = GFX_news_spacex_announcement
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { #Wait, what!?
		trigger = {
			original_tag = USA
			#has_completed_focus = USA_finance_private_space_ventures
		}
		name = donald_trump_news.5.o1
	}

	option = { #Public vs Private? There is no competition
		trigger = {
			original_tag = USA
			#has_completed_focus = USA_finance_nasa
		}
		name = donald_trump_news.5.o2
	}

	option = { #The Americans are competing with each other again...
		trigger = {
			NOT = {
				original_tag = USA
			}
		}
		name = donald_trump_news.5.o3
	}
}

#NASA Rocket to Mars Explodes on Launch!
news_event = {
	id = donald_trump_news.6
	title = donald_trump_news.6.t
	desc = donald_trump_news.6.d
	picture = GFX_news_rocket_explosion
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { #What are the chances
		trigger = {
			original_tag = USA
		}
		name = donald_trump_news.6.o1
	}

	option = { #Maybe don't rush it?
		trigger = {
			NOT = {
				original_tag = USA
			}
		}
		name = donald_trump_news.6.o2
	}
}

#NASA Lands Manned Mission on Mars!
news_event = {
	id = donald_trump_news.7
	title = donald_trump_news.7.t
	desc = donald_trump_news.7.d
	picture = GFX_news_manned_mission_mars
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { #Huzzah!
		trigger = {
			original_tag = USA
		}
		name = donald_trump_news.7.o1
	}

	option = { #Americans need their space, don't they?
		trigger = {
			NOT = {
				original_tag = USA
			}
		}
		name = donald_trump_news.7.o2
	}
}

#SpaceX Lands Manned Mission on Mars First!
news_event = {
	id = donald_trump_news.8
	title = donald_trump_news.8.t
	desc = donald_trump_news.8.d
	picture = GFX_news_spacex_mars
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { #USA!
		trigger = {
			original_tag = USA
		}
		name = donald_trump_news.8.o1
	}

	option = { #The Americans won against themselves, again...
		trigger = {
			NOT = {
				original_tag = USA
			}
		}
		name = donald_trump_news.8.o2
	}
}

#US Launches Outpost of the Moon
news_event = {
	id = donald_trump_news.9
	title = donald_trump_news.9.t
	desc = donald_trump_news.9.d
	picture = GFX_news_moonbase_construction
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { #Our reach expands further
		trigger = {
			original_tag = USA
		}
		name = donald_trump_news.9.o1
	}

	option = { #Does this count as imperialism?
		trigger = {
			NOT = {
				original_tag = USA
			}
		}
		name = donald_trump_news.9.o2
	}
}

#US Expands Operations on the Moon
news_event = {
	id = donald_trump_news.10
	title = donald_trump_news.10.t
	desc = donald_trump_news.10.d
	picture = GFX_news_moonbase
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { #Progress!
		trigger = {
			original_tag = USA
		}
		name = donald_trump_news.10.o1
	}

	option = { #What's next? The United States of the Moon?
		trigger = {
			NOT = {
				original_tag = USA
			}
		}
		name = donald_trump_news.10.o2
	}
}

#US Abandons Moonbase
news_event = {
	id = donald_trump_news.11
	title = donald_trump_news.11.t
	desc = donald_trump_news.11.d
	picture = GFX_news_moonbase
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { #Wasn't worth it
		trigger = {
			original_tag = USA
		}
		name = donald_trump_news.11.o1
	}

	option = { #If it's too expensive for the USA, then it's too expensive for us
		trigger = {
			NOT = {
				original_tag = USA
			}
		}
		name = donald_trump_news.11.o2
	}
}

###US Domestic Policy Decision Debate Events
#Post 9/11 Reponse
country_event = {
	id = USA_events_domestic_policies.1
	title = USA_events_domestic_policies.1.t
	desc = USA_events_domestic_policies.1.d
	picture = GFX_american_troops
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.1.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.1.o1 executed"
		add_stability = -0.15
		set_country_flag = USA_country_flag_arms_dealer
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.10 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_offensive_foreign_influence = -0.02 tooltip = foreign_influence_modifier_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_military_tax_collection_efficiency = -0.08 tooltip = military_industry_tax_modifier_tt }
		add_to_variable = { tax_code_dockyard_tax_collection_efficiency = -0.08 tooltip = dockyard_income_tax_modifier_tt }
		add_to_variable = { tax_code_civilian_tax_collection_efficiency = 0.02 tooltip = civilian_industry_tax_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.1.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.1.o2 executed"
		add_stability = 0.04
		add_war_support = 0.04
		set_country_flag = USA_country_flag_legal_interventionism
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.05 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_offensive_foreign_influence = 0.01 tooltip = foreign_influence_modifier_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { domestic_neutrality_drift = 0.01 tooltip = neutrality_drift_tt }
		add_to_variable = { domestic_nationalist_drift = 0.01 tooltip = nationalist_drift_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.1.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.1.o3 executed"
		add_war_support = 0.10
		set_country_flag = USA_country_flag_war_on_terror
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.06 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_offensive_foreign_influence = 0.01 tooltip = foreign_influence_modifier_tt }
		add_to_variable = { domestic_foreign_influence_defense = -0.01 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { domestic_communist_drift = -0.01 tooltip = communism_drift_tt }
		add_to_variable = { domestic_democratic_drift = 0.01 tooltip = democratic_drift_tt }
		add_to_variable = { domestic_nationalist_drift = 0.02 tooltip = nationalist_drift_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				is_historical_focus_on = yes
				factor = 100
			}
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#Post 9/11 Security Concerns
country_event = {
	id = USA_events_domestic_policies.2
	title = USA_events_domestic_policies.2.t
	desc = USA_events_domestic_policies.2.d
	picture = GFX_report_event_camera
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.2.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.2.o1 executed"
		add_stability = -0.03
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { domestic_encryption_factor = 0.10 tooltip = encryption_factor_tt }
		add_to_variable = { domestic_decryption_factor = 0.05 tooltip = decryption_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_police_cost = 0.15 tooltip = police_cost_multiplier_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.2.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.2.o2 executed"
		add_stability = 0.04
		add_war_support = 0.04
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { domestic_encryption_factor = 0.05 tooltip = encryption_factor_tt }
		add_to_variable = { domestic_decryption_factor = 0.05 tooltip = decryption_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_police_cost = 0.05 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_bureaucracy_cost = 0.05 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.2.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.2.o3 executed"
		add_stability = -0.08
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.05 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { domestic_encryption_factor = 0.10 tooltip = encryption_factor_tt }
		add_to_variable = { domestic_decryption_factor = 0.10 tooltip = decryption_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_police_cost = 0.10 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_bureaucracy_cost = 0.10 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				is_historical_focus_on = yes
				factor = 100
			}
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#Religious Freedoms Debate
country_event = {
	id = USA_events_domestic_policies.3
	title = USA_events_domestic_policies.3.t
	desc = USA_events_domestic_policies.3.d
	picture = GFX_internal_faction_religion
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.3.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.3.o1 executed"
		add_stability = 0.08
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.04 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { domestic_monthly_pop = 0.15 tooltip = monthly_population_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_police_cost = 0.03 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = 0.03 tooltip = education_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_healthcare_cost = 0.03 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_welfare_cost = 0.03 tooltip = social_cost_multiplier_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.3.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.3.o2 executed"
		add_stability = 0.04
		add_war_support = 0.04
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.02 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { domestic_monthly_pop = 0.08 tooltip = monthly_population_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_police_cost = 0.05 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = 0.05 tooltip = education_cost_multiplier_modifier_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.3.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.3.o3 executed"
		add_war_support = 0.08
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.07 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { domestic_monthly_pop = -0.03 tooltip = monthly_population_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_police_cost = 0.200 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_healthcare_cost = -0.04 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_welfare_cost = -0.04 tooltip = social_cost_multiplier_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#School Choice Dilemma
country_event = {
	id = USA_events_domestic_policies.4
	title = USA_events_domestic_policies.4.t
	desc = USA_events_domestic_policies.4.d
	picture = GFX_report_event_camera
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.4.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.4.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.04 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_research_speed = 0.12 tooltip = research_speed_factor_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { domestic_monthly_pop = -0.05 tooltip = monthly_population_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.10 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = 0.10 tooltip = education_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_production_efficiency_cap = 0.10 tooltip = production_factory_max_efficiency_factor_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.4.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.4.o2 executed"
		add_stability = 0.02
		add_war_support = 0.02
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.02 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_research_speed = 0.03 tooltip = research_speed_factor_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = 0.07 tooltip = production_speed_buildings_factor_tt }
		add_to_variable = { doti_resource_extraction = 0.25 tooltip = local_resources_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_energy
		}
		add_to_variable = { doe_fossil_fuel_energy_production = 0.03 tooltip = fossil_pp_energy_generation_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.15 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = 0.15 tooltip = education_cost_multiplier_modifier_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.4.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.4.o3 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.08 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_research_speed = -0.05 tooltip = research_speed_factor_tt }
		add_to_variable = { domestic_foreign_influence_defense = -0.01 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { domestic_monthly_pop = 0.15 tooltip = monthly_population_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = -0.10 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = -0.10 tooltip = education_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_office_workforce = 0.04 tooltip = offices_worker_requirement_modifier_tt }
		add_to_variable = { econ_civ_factory_workforce = 0.04 tooltip = civ_facs_worker_requirement_modifier_tt }
		add_to_variable = { econ_dockyard_output = 0.08 tooltip = industrial_capacity_dockyard_tt }
		add_to_variable = { econ_factory_output = 0.05 tooltip = industrial_capacity_factory_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#The Power Grid Debate
country_event = {
	id = USA_events_domestic_policies.5
	title = USA_events_domestic_policies.5.t
	desc = USA_events_domestic_policies.5.d
	picture = GFX_political_deal
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.5.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.5.o1 executed"
		add_stability = 0.04
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.04 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_energy
		}
		add_to_variable = { doe_energy_production = 0.05 tooltip = energy_gain_multiplier_tt }
		add_to_variable = { doe_fossil_fuel_energy_production = -0.05 tooltip = fossil_pp_energy_generation_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.15 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_police_cost = 0.15 tooltip = police_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_production_efficiency_cap = 0.15 tooltip = production_factory_max_efficiency_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.10 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.5.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.5.o2 executed"
		add_stability = 0.02
		add_war_support = 0.02
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.10 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_energy
		}
		add_to_variable = { doe_energy_production = 0.01 tooltip = energy_gain_multiplier_tt }
		add_to_variable = { doe_renewable_energy_production = 0.01 tooltip = renewable_energy_gain_multiplier_tt }
		add_to_variable = { doe_nuclear_energy_production = 0.01 tooltip = nuclear_energy_generation_modifier_tt }
		add_to_variable = { doe_fossil_fuel_energy_production = 0.01 tooltip = fossil_pp_energy_generation_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.10 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = 0.10 tooltip = education_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_police_cost = 0.10 tooltip = police_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_nuclear_reactor_construction_speed = 0.15 tooltip = production_speed_nuclear_reactor_factor_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.5.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.5.o3 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.04 tooltip = political_power_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_energy
		}
		add_to_variable = { doe_energy_production = 0.05 tooltip = energy_gain_multiplier_tt }
		add_to_variable = { doe_fossil_fuel_energy_production = 0.05 tooltip = fossil_pp_energy_generation_modifier_tt }
		add_to_variable = { doe_renewable_energy_production = -0.03 tooltip = renewable_energy_gain_multiplier_tt }
		add_to_variable = { doe_nuclear_energy_production = -0.03 tooltip = nuclear_energy_generation_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = -0.05 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_police_cost = -0.05 tooltip = police_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_nuclear_reactor_construction_speed = -0.15 tooltip = production_speed_nuclear_reactor_factor_tt }
		add_to_variable = { doti_construction_speed = 0.07 tooltip = production_speed_buildings_factor_tt }
		add_to_variable = { doti_resource_extraction = 0.07 tooltip = local_resources_factor_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#Food Stamp Fiasco
country_event = {
	id = USA_events_domestic_policies.6
	title = USA_events_domestic_policies.6.t
	desc = USA_events_domestic_policies.6.d
	picture = GFX_economy_crisis
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.6.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.6.o1 executed"
		add_stability = 0.04
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.05 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_monthly_pop = 0.25 tooltip = monthly_population_tt }
		add_to_variable = { domestic_unemployment_tolerance = 0.06 tooltip = high_unemployment_threshold_modifier_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_healthcare_cost = 0.05 tooltip = health_cost_multiplier_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.6.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.6.o2 executed"
		add_stability = 0.02
		add_war_support = 0.02
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_monthly_pop = 0.15 tooltip = monthly_population_tt }
		add_to_variable = { domestic_unemployment_tolerance = 0.03 tooltip = high_unemployment_threshold_modifier_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_healthcare_cost = 0.02 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_welfare_cost = 0.02 tooltip = social_cost_multiplier_modifier_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.6.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.6.o3 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_monthly_pop = 0.05 tooltip = monthly_population_tt }
		add_to_variable = { domestic_unemployment_tolerance = 0.03 tooltip = high_unemployment_threshold_modifier_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_healthcare_cost = 0.01 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_bureaucracy_cost = -0.05 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_police_cost = -0.05 tooltip = police_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_population_tax_collection_efficiency = -0.01 tooltip = population_tax_income_multiplier_modifier_tt }
		add_to_variable = { tax_code_tax_collection_efficiency = -0.01 tooltip = tax_gain_multiplier_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#The Rent Crisis
country_event = {
	id = USA_events_domestic_policies.7
	title = USA_events_domestic_policies.7.t
	desc = USA_events_domestic_policies.7.d
	picture = GFX_foreclosure
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.7.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.7.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.04 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_monthly_pop = 0.08 tooltip = monthly_population_tt }
		add_to_variable = { domestic_unemployment_tolerance = 0.06 tooltip = high_unemployment_threshold_modifier_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.20 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.03 tooltip = consumer_goods_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_office_park_tax_collection_efficiency = -0.05 tooltip = office_park_income_tax_modifier_tt }
		add_to_variable = { tax_code_population_tax_collection_efficiency = 0.05 tooltip = population_tax_income_multiplier_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.7.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.7.o2 executed"
		add_stability = 0.02
		add_war_support = 0.02
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.04 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = 0.15 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.15 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.02 tooltip = consumer_goods_factor_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.7.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.7.o3 executed"
		add_stability = -0.02
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.04 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_monthly_pop = -0.05 tooltip = monthly_population_tt }
		add_to_variable = { domestic_unemployment_tolerance = -0.03 tooltip = high_unemployment_threshold_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = -0.10 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_welfare_cost = -0.10 tooltip = social_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_corporate_tax_collection_efficiency = 0.05 tooltip = corporate_tax_income_multiplier_modifier_tt }
		add_to_variable = { tax_code_office_park_tax_collection_efficiency = 0.02 tooltip = office_park_income_tax_modifier_tt }
		add_to_variable = { tax_code_population_tax_collection_efficiency = -0.05 tooltip = population_tax_income_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = 0.02 tooltip = consumer_goods_factor_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#Civil Rights Contentions
country_event = {
	id = USA_events_domestic_policies.8
	title = USA_events_domestic_policies.8.t
	desc = USA_events_domestic_policies.8.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.8.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.8.o1 executed"
		add_stability = -0.02
		add_war_support = -0.02
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_monthly_pop = 0.10 tooltip = monthly_population_tt }
		add_to_variable = { domestic_unemployment_tolerance = 0.03 tooltip = high_unemployment_threshold_modifier_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { domestic_drift_defense = -0.10 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_democratic_drift = -0.03 tooltip = democratic_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.10 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.02 tooltip = consumer_goods_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_population_tax_collection_efficiency = -0.02 tooltip = population_tax_income_multiplier_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.8.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.8.o2 executed"
		add_stability = 0.02
		add_war_support = 0.02
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.08 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_welfare_cost = 0.04 tooltip = social_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = 0.04 tooltip = education_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_bureaucracy_cost = -0.10 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_police_cost = -0.10 tooltip = police_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.03 tooltip = industrial_capacity_factory_tt }
		add_to_variable = { econ_dockyard_output = 0.06 tooltip = industrial_capacity_dockyard_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_resource_extraction = 0.07 tooltip = local_resources_factor_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.8.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.8.o3 executed"
		add_stability = -0.04
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.05 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_monthly_pop = -0.07 tooltip = monthly_population_tt }
		add_to_variable = { domestic_democratic_drift = -0.02 tooltip = democratic_drift_tt }
		add_to_variable = { domestic_drift_defense = 0.15 tooltip = drift_defence_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = -0.04 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_police_cost = -0.04 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = -0.04 tooltip = education_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_healthcare_cost = -0.04 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_welfare_cost = -0.04 tooltip = social_cost_multiplier_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#The Marriage Question
country_event = {
	id = USA_events_domestic_policies.9
	title = USA_events_domestic_policies.9.t
	desc = USA_events_domestic_policies.9.d
	picture = GFX_report_event_camera
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.9.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.9.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_unemployment_tolerance = 0.03 tooltip = high_unemployment_threshold_modifier_tt }
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { domestic_drift_defense = -0.10 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_democratic_drift = -0.01 tooltip = democratic_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.07 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = 0.07 tooltip = education_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_civilian_tax_collection_efficiency = 0.03 tooltip = civilian_industry_tax_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.9.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.9.o2 executed"
		add_stability = 0.02
		add_war_support = 0.02
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_foreign_influence_defense = 0.01 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { domestic_drift_defense = 0.10 tooltip = drift_defence_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.03 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_police_cost = 0.03 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = 0.03 tooltip = education_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_civilian_tax_collection_efficiency = 0.02 tooltip = civilian_industry_tax_modifier_tt }
		add_to_variable = { tax_code_population_tax_collection_efficiency = 0.02 tooltip = population_tax_income_multiplier_modifier_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.9.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.9.o3 executed"
		add_stability = -0.04
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.09 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_democratic_drift = -0.01 tooltip = democratic_drift_tt }
		add_to_variable = { domestic_drift_defense = 0.10 tooltip = drift_defence_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = -0.12 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_police_cost = -0.12 tooltip = police_cost_multiplier_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#Continued Gun Control Problems
country_event = {
	id = USA_events_domestic_policies.10
	title = USA_events_domestic_policies.10.t
	desc = USA_events_domestic_policies.10.d
	picture = GFX_court
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.10.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.10.o1 executed"
		add_stability = 0.02
		add_war_support = -0.12
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.07 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_democratic_drift = -0.02 tooltip = democratic_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.15 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_police_cost = 0.15 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_personnel_cost = -0.10 tooltip = personnel_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = -0.03 tooltip = industrial_capacity_factory_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_tax_collection_efficiency = 0.01 tooltip = tax_gain_multiplier_modifier_tt }
		add_to_variable = { tax_code_military_tax_collection_efficiency = -0.05 tooltip = military_industry_tax_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.10.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.10.o2 executed"
		add_stability = -0.04
		add_war_support = -0.04
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.02 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.15 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_democratic_drift = -0.01 tooltip = democratic_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_police_cost = 0.05 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_personnel_cost = -0.10 tooltip = personnel_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_mil_factory_workforce = -0.15 tooltip = mil_facs_worker_requirement_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_tax_collection_efficiency = -0.01 tooltip = tax_gain_multiplier_modifier_tt }
		add_to_variable = { tax_code_military_tax_collection_efficiency = 0.04 tooltip = military_industry_tax_modifier_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.10.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.10.o3 executed"
		add_stability = -0.12
		add_war_support = 0.02
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.02 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = 0.15 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_neutrality_drift = 0.01 tooltip = neutrality_drift_tt }
		add_to_variable = { domestic_nationalist_drift = 0.01 tooltip = nationalist_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = -0.08 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_police_cost = -0.08 tooltip = police_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_military_tax_collection_efficiency = 0.06 tooltip = military_industry_tax_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#Rising Police Problems
country_event = {
	id = USA_events_domestic_policies.11
	title = USA_events_domestic_policies.11.t
	desc = USA_events_domestic_policies.11.d
	picture = GFX_court
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.11.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.11.o1 executed"
		add_stability = 0.05
		add_war_support = -0.05
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.04 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_monthly_pop = 0.13 tooltip = monthly_population_tt }
		add_to_variable = { domestic_unemployment_tolerance = 0.02 tooltip = high_unemployment_threshold_modifier_tt }
		add_to_variable = { domestic_democratic_drift = -0.01 tooltip = democratic_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.25 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_police_cost = -0.10 tooltip = police_cost_multiplier_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.11.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.11.o2 executed"
		add_stability = -0.02
		add_war_support = -0.02
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_drift_defense = 0.15 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_unemployment_tolerance = 0.04 tooltip = high_unemployment_threshold_modifier_tt }
		add_to_variable = { domestic_neutrality_drift = 0.01 tooltip = neutrality_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.08 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_police_cost = 0.08 tooltip = police_cost_multiplier_modifier_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.11.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.11.o3 executed"
		add_stability = -0.05
		add_war_support = 0.05
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.04 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_monthly_pop = 0.08 tooltip = monthly_population_tt }
		add_to_variable = { domestic_neutrality_drift = 0.01 tooltip = neutrality_drift_tt }
		add_to_variable = { domestic_nationalist_drift = 0.01 tooltip = nationalist_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_police_cost = 0.20 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_bureaucracy_cost = -0.10 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_tax_collection_efficiency = 0.01 tooltip = tax_gain_multiplier_modifier_tt }
		add_to_variable = { tax_code_population_tax_collection_efficiency = -0.02 tooltip = population_tax_income_multiplier_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#Drug Transparecy Debate
country_event = {
	id = USA_events_domestic_policies.12
	title = USA_events_domestic_policies.12.t
	desc = USA_events_domestic_policies.12.d
	picture = GFX_punish_white_collar_crime
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.12.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.12.o1 executed"
		add_stability = 0.05
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.07 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_monthly_pop = 0.15 tooltip = monthly_population_tt }
		add_to_variable = { domestic_unemployment_tolerance = 0.02 tooltip = high_unemployment_threshold_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.50 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_healthcare_cost = -0.05 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_welfare_cost = -0.05 tooltip = social_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.03 tooltip = consumer_goods_factor_tt }
		add_to_variable = { econ_office_workforce = -0.07 tooltip = offices_worker_requirement_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_corporate_tax_collection_efficiency = 0.01 tooltip = corporate_tax_income_multiplier_modifier_tt }
		add_to_variable = { tax_code_office_park_tax_collection_efficiency = -0.02 tooltip = office_park_income_tax_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.12.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.12.o2 executed"
		add_stability = 0.02
		add_war_support = 0.02
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_monthly_pop = 0.15 tooltip = monthly_population_tt }
		add_to_variable = { domestic_unemployment_tolerance = 0.06 tooltip = high_unemployment_threshold_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.10 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_healthcare_cost = 0.05 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_welfare_cost = 0.05 tooltip = social_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.03 tooltip = consumer_goods_factor_tt }
		add_to_variable = { econ_office_workforce = -0.05 tooltip = offices_worker_requirement_modifier_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.12.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.12.o3 executed"
		add_stability = -0.05
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.07 tooltip = political_power_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = -0.25 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_healthcare_cost = 0.05 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_welfare_cost = 0.05 tooltip = social_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_office_construction_speed = 0.25 tooltip = production_speed_offices_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.02 tooltip = consumer_goods_factor_tt }
		add_to_variable = { econ_office_workforce = 0.08 tooltip = offices_worker_requirement_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_office_park_tax_collection_efficiency = 0.02 tooltip = office_park_income_tax_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#Healthcare Billing Troubles
country_event = {
	id = USA_events_domestic_policies.13
	title = USA_events_domestic_policies.13.t
	desc = USA_events_domestic_policies.13.d
	picture = GFX_punish_white_collar_crime
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.13.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.13.o1 executed"
		add_stability = 0.05
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.07 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_monthly_pop = 0.15 tooltip = monthly_population_tt }
		add_to_variable = { domestic_unemployment_tolerance = 0.02 tooltip = high_unemployment_threshold_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.20 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_healthcare_cost = -0.05 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_welfare_cost = -0.05 tooltip = social_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.01 tooltip = consumer_goods_factor_tt }
		add_to_variable = { econ_office_workforce = -0.15 tooltip = offices_worker_requirement_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_corporate_tax_collection_efficiency = 0.02 tooltip = corporate_tax_income_multiplier_modifier_tt }
		add_to_variable = { tax_code_office_park_tax_collection_efficiency = -0.02 tooltip = office_park_income_tax_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.13.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.13.o2 executed"
		add_stability = 0.02
		add_war_support = 0.02
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_monthly_pop = 0.15 tooltip = monthly_population_tt }
		add_to_variable = { domestic_unemployment_tolerance = 0.06 tooltip = high_unemployment_threshold_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.10 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_healthcare_cost = 0.05 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_welfare_cost = 0.05 tooltip = social_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.03 tooltip = consumer_goods_factor_tt }
		add_to_variable = { econ_office_workforce = -0.10 tooltip = offices_worker_requirement_modifier_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.13.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.13.o3 executed"
		add_stability = -0.05
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.07 tooltip = political_power_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = -0.25 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_healthcare_cost = 0.08 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_welfare_cost = 0.08 tooltip = social_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_office_construction_speed = 0.25 tooltip = production_speed_offices_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.01 tooltip = consumer_goods_factor_tt }
		add_to_variable = { econ_office_workforce = 0.15 tooltip = offices_worker_requirement_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_office_park_tax_collection_efficiency = 0.02 tooltip = office_park_income_tax_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#Social Security Not Secure
country_event = {
	id = USA_events_domestic_policies.14
	title = USA_events_domestic_policies.14.t
	desc = USA_events_domestic_policies.14.d
	picture = GFX_report_event_camera
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.14.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.14.o1 executed"
		add_stability = -0.05
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.12 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_monthly_pop = 0.15 tooltip = monthly_population_tt }
		add_to_variable = { domestic_unemployment_tolerance = 0.06 tooltip = high_unemployment_threshold_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_welfare_cost = 0.10 tooltip = social_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.01 tooltip = consumer_goods_factor_tt }
		add_to_variable = { econ_factory_output = 0.04 tooltip = industrial_capacity_factory_tt }
		add_to_variable = { econ_dockyard_output = 0.06 tooltip = industrial_capacity_dockyard_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_tax_collection_efficiency = -0.01 tooltip = tax_gain_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_civ_construction_speed = 0.07 tooltip = production_speed_industrial_complex_factor_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.14.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.14.o2 executed"
		add_stability = -0.05
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.07 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_unemployment_tolerance = 0.02 tooltip = high_unemployment_threshold_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_welfare_cost = 0.02 tooltip = social_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.01 tooltip = consumer_goods_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_civ_construction_speed = 0.15 tooltip = production_speed_industrial_complex_factor_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.14.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.14.o3 executed"
		add_stability = -0.05
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_welfare_cost = -0.06 tooltip = social_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_monthly_pop = -0.15 tooltip = monthly_population_tt }
		add_to_variable = { domestic_unemployment_tolerance = -0.03 tooltip = high_unemployment_threshold_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_tax_collection_efficiency = 0.01 tooltip = tax_gain_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = -0.07 tooltip = industrial_capacity_factory_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_civ_construction_speed = 0.25 tooltip = production_speed_industrial_complex_factor_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#Police Training Troubles
country_event = {
	id = USA_events_domestic_policies.15
	title = USA_events_domestic_policies.15.t
	desc = USA_events_domestic_policies.15.d
	picture = GFX_court
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.15.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.15.o1 executed"
		add_stability = 0.05
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.20 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_police_cost = -0.15 tooltip = police_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_democratic_drift = -0.02 tooltip = democratic_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.01 tooltip = consumer_goods_factor_tt }
		add_to_variable = { econ_factory_output = -0.05 tooltip = industrial_capacity_factory_tt }
		add_to_variable = { econ_dockyard_output = -0.05 tooltip = industrial_capacity_dockyard_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_civ_construction_speed = 0.15 tooltip = production_speed_industrial_complex_factor_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.15.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.15.o2 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.10 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_police_cost = 0.10 tooltip = police_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.02 tooltip = consumer_goods_factor_tt }
		add_to_variable = { econ_factory_output = 0.04 tooltip = industrial_capacity_factory_tt }
		add_to_variable = { econ_dockyard_output = 0.06 tooltip = industrial_capacity_dockyard_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_corporate_tax_collection_efficiency = 0.01 tooltip = corporate_tax_income_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_civ_construction_speed = 0.08 tooltip = production_speed_industrial_complex_factor_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.15.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.15.o3 executed"
		add_stability = -0.05
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_police_cost = -0.15 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_bureaucracy_cost = 0.20 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_democratic_drift = -0.02 tooltip = democratic_drift_tt }
		add_to_variable = { domestic_nationalist_drift = 0.01 tooltip = nationalist_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = -0.10 tooltip = industrial_capacity_factory_tt }
		add_to_variable = { econ_dockyard_output = -0.07 tooltip = industrial_capacity_dockyard_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = 0.15 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#The Green Wave Debate
country_event = {
	id = USA_events_domestic_policies.16
	title = USA_events_domestic_policies.16.t
	desc = USA_events_domestic_policies.16.d
	picture = GFX_nuclear_power_plant
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.16.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.16.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.20 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = 0.20 tooltip = education_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_personnel_cost = -0.10 tooltip = personnel_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_nuclear_reactor_construction_speed = 0.40 tooltip = production_speed_nuclear_reactor_factor_tt }
		add_to_variable = { doti_mil_construction_speed = -0.20 tooltip = production_speed_arms_factory_factor_tt }
		add_to_variable = { doti_dockyard_construction_speed = -0.20 tooltip = production_speed_dockyard_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_democratic_drift = -0.02 tooltip = democratic_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.02 tooltip = consumer_goods_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_energy
		}
		add_to_variable = { doe_fossil_fuel_energy_production = -0.08 tooltip = fossil_pp_energy_generation_modifier_tt }
		add_to_variable = { doe_energy_production = 0.01 tooltip = energy_gain_multiplier_tt }
		add_to_variable = { doe_nuclear_energy_production = 0.05 tooltip = nuclear_energy_generation_modifier_tt }
		add_to_variable = { doe_renewable_energy_production = 0.05 tooltip = renewable_energy_gain_multiplier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.16.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.16.o2 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.10 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = 0.10 tooltip = education_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_personnel_cost = -0.05 tooltip = personnel_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_nuclear_reactor_construction_speed = 0.15 tooltip = production_speed_nuclear_reactor_factor_tt }
		add_to_variable = { doti_mil_construction_speed = -0.05 tooltip = production_speed_arms_factory_factor_tt }
		add_to_variable = { doti_dockyard_construction_speed = -0.05 tooltip = production_speed_dockyard_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_democratic_drift = -0.01 tooltip = democratic_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.01 tooltip = consumer_goods_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_energy
		}
		add_to_variable = { doe_fossil_fuel_energy_production = -0.04 tooltip = fossil_pp_energy_generation_modifier_tt }
		add_to_variable = { doe_energy_production = 0.01 tooltip = energy_gain_multiplier_tt }
		add_to_variable = { doe_nuclear_energy_production = 0.03 tooltip = nuclear_energy_generation_modifier_tt }
		add_to_variable = { doe_renewable_energy_production = 0.03 tooltip = renewable_energy_gain_multiplier_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.16.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.16.o3 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = -0.20 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = -0.20 tooltip = education_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_office_workforce = 0.05 tooltip = offices_worker_requirement_modifier_tt }
		add_to_variable = { econ_civ_factory_workforce = 0.15 tooltip = civ_facs_worker_requirement_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_democratic_drift = -0.02 tooltip = democratic_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_energy
		}
		add_to_variable = { doe_energy_production = 0.01 tooltip = energy_gain_multiplier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#The Job Impact Scare
country_event = {
	id = USA_events_domestic_policies.17
	title = USA_events_domestic_policies.17.t
	desc = USA_events_domestic_policies.17.d
	picture = GFX_political_activist
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.17.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.17.o1 executed"
		add_stability = -0.10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.20 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = 0.20 tooltip = education_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_research_speed = 0.07 tooltip = research_speed_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.50 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_democratic_drift = -0.02 tooltip = democratic_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_office_workforce = 0.75 tooltip = offices_worker_requirement_modifier_tt }
		add_to_variable = { econ_civ_factory_workforce = -0.25 tooltip = civ_facs_worker_requirement_modifier_tt }
		add_to_variable = { econ_factory_output = -0.15 tooltip = industrial_capacity_factory_tt }
		add_to_variable = { econ_production_efficiency_cap = 0.15 tooltip = production_factory_max_efficiency_factor_tt }
		add_to_variable = { econ_productivity = 0.150 tooltip = productivity_growth_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.17.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.17.o2 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.10 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = 0.10 tooltip = education_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_research_speed = 0.03 tooltip = research_speed_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.25 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_democratic_drift = -0.01 tooltip = democratic_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_office_workforce = 0.25 tooltip = offices_worker_requirement_modifier_tt }
		add_to_variable = { econ_civ_factory_workforce = -0.08 tooltip = civ_facs_worker_requirement_modifier_tt }
		add_to_variable = { econ_factory_output = -0.05 tooltip = industrial_capacity_factory_tt }
		add_to_variable = { econ_production_efficiency_cap = 0.10 tooltip = production_factory_max_efficiency_factor_tt }
		add_to_variable = { econ_productivity = 0.050 tooltip = productivity_growth_modifier_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.17.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.17.o3 executed"
		add_stability = -0.10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = -0.10 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_drift_defense = -0.50 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_democratic_drift = -0.02 tooltip = democratic_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_office_workforce = 0.15 tooltip = offices_worker_requirement_modifier_tt }
		add_to_variable = { econ_civ_factory_workforce = 0.15 tooltip = civ_facs_worker_requirement_modifier_tt }
		add_to_variable = { econ_productivity = 0.100 tooltip = productivity_growth_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#The Social Impact
country_event = {
	id = USA_events_domestic_policies.18
	title = USA_events_domestic_policies.18.t
	desc = USA_events_domestic_policies.18.d
	picture = GFX_political_activist
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.18.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.18.o1 executed"
		add_stability = -0.10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.50 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.25 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_drift_defense = -0.50 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_democratic_drift = -0.02 tooltip = democratic_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_energy
		}
		add_to_variable = { doe_energy_consumption = -0.10 tooltip = energy_use_multiplier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.04 tooltip = consumer_goods_factor_tt }
		add_to_variable = { econ_productivity = 0.025 tooltip = productivity_growth_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.18.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.18.o2 executed"
		add_stability = -0.05
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.25 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.15 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_drift_defense = -0.25 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_democratic_drift = -0.01 tooltip = democratic_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_energy
		}
		add_to_variable = { doe_energy_consumption = -0.05 tooltip = energy_use_multiplier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.02 tooltip = consumer_goods_factor_tt }
		add_to_variable = { econ_productivity = 0.010 tooltip = productivity_growth_modifier_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.18.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.18.o3 executed"
		add_stability = -0.15
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_drift_defense = -0.25 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_democratic_drift = -0.02 tooltip = democratic_drift_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_energy
		}
		add_to_variable = { doe_energy_consumption = -0.02 tooltip = energy_use_multiplier_tt }
		add_to_variable = { doe_population_energy_consumption = -0.02 tooltip = pop_energy_use_multiplier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.01 tooltip = consumer_goods_factor_tt }
		add_to_variable = { econ_productivity = 0.050 tooltip = productivity_growth_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

#The Nuclear Question
country_event = {
	id = USA_events_domestic_policies.19
	title = USA_events_domestic_policies.19.t
	desc = USA_events_domestic_policies.19.d
	picture = GFX_nuclear_power_plant
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_events_domestic_policies.19.o1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.19.o1 executed"
		add_stability = -0.25
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.10 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = 0.10 tooltip = education_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_police_cost = 0.10 tooltip = police_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_nuclear_reactor_construction_speed = 0.50 tooltip = production_speed_nuclear_reactor_factor_tt }
		add_to_variable = { doti_resource_extraction = 0.10 tooltip = local_resources_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_drift_defense = -0.25 tooltip = drift_defence_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_energy
		}
		add_to_variable = { doe_nuclear_energy_production = 0.10 tooltip = nuclear_energy_generation_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.02 tooltip = consumer_goods_factor_tt }
		add_to_variable = { econ_productivity = 0.150 tooltip = productivity_growth_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_events_domestic_policies.19.o2
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.19.o2 executed"
		add_stability = -0.10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.05 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = 0.05 tooltip = education_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_police_cost = 0.05 tooltip = police_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_nuclear_reactor_construction_speed = 0.25 tooltip = production_speed_nuclear_reactor_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_drift_defense = -0.10 tooltip = drift_defence_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_energy
		}
		add_to_variable = { doe_nuclear_energy_production = 0.05 tooltip = nuclear_energy_generation_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.01 tooltip = consumer_goods_factor_tt }
		add_to_variable = { econ_productivity = 0.100 tooltip = productivity_growth_modifier_tt }
		newline = yes
		USA_congress_small_opposition = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.19.o3
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.19.o3 executed"
		add_stability = -0.15
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_bureaucracy_cost = 0.30 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { federal_budget_education_cost = 0.30 tooltip = education_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_nuclear_reactor_construction_speed = -1.00 tooltip = production_speed_nuclear_reactor_factor_tt }
		add_to_variable = { doti_resource_extraction = 0.15 tooltip = local_resources_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_drift_defense = -0.25 tooltip = drift_defence_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_energy
		}
		add_to_variable = { doe_nuclear_energy_production = -0.10 tooltip = nuclear_energy_generation_modifier_tt }
		add_to_variable = { doe_energy_production = 0.05 tooltip = energy_gain_multiplier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_consumer_goods = -0.02 tooltip = consumer_goods_factor_tt }
		add_to_variable = { econ_productivity = 0.050 tooltip = productivity_growth_modifier_tt }
		newline = yes
		USA_congress_medium_opposition = yes
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 1000
			}
		}
	}
}

# Iowa Class Event
country_event = {
	id = USA_events_domestic_policies.20
	title = {
		text = USA_events_domestic_policies.20.title1
		trigger = {
			USA = {
				has_navy_size = {
					size > 1
					archetype = battleship_hull_0
				}
			}
		}
	}
	title = {
		text = USA_events_domestic_policies.20.title2
		trigger = {
			USA = {
					has_navy_size = {
						size = 1
						archetype = battleship_hull_0
					}
				}
		}
	}
	title = {
		text = USA_events_domestic_policies.20.title3
		trigger = {
			USA = {
					has_navy_size = {
						size = 0
						archetype = battleship_hull_0
					}
				}
		}
	}
	desc = {
		text = USA_events_domestic_policies.20.d
		trigger = {
			USA = {
					has_navy_size = {
						size > 1
						archetype = battleship_hull_0
					}
				}
		}
	}
	desc = {
		text = USA_events_domestic_policies.20.d2
		trigger = {
			USA = {
					has_navy_size = {
						size = 1
						archetype = battleship_hull_0
					}
				}
		}
	}
	desc = {
		text = USA_events_domestic_policies.20.d3
		trigger = {
			USA = {
					has_navy_size = {
						size = 0
						archetype = battleship_hull_0
					}
				}
		}
	}
	picture = GFX_battleship_event_USA
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	# Both ships
	option = {
		name = USA_events_domestic_policies.20.a
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.20.a executed"
		trigger = {
			USA = {
					has_navy_size = {
						size > 1
						archetype = battleship_hull_0
					}
				}
		}
		custom_effect_tooltip = USA_delete_iowa_class_TT
		hidden_effect = {
			destroy_ships = {
					type = battleship_hull_0
					count = all
				}
		}
		USA_house_medium_support = yes
		navy_experience = 25
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.20.b
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.20.b executed"
		trigger = {
			USA = {
					has_navy_size = {
						size > 1
						archetype = battleship_hull_0
					}
				}
		}
		custom_effect_tooltip = USA_keep_iowa_class_TT
		USA_house_small_opposition = yes
		set_temp_variable = { treasury_change = -30 }
		modify_treasury_effect = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.20.a1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.20.a1 executed"
		trigger = {
			USA = {
					has_navy_size = {
						size = 1
						archetype = battleship_hull_0
					}
				}
		}
		custom_effect_tooltip = USA_delete_iowa_class_TT
		hidden_effect = {
			destroy_ships = {
					type = battleship_hull_0
					count = all
				}
		}
		USA_house_medium_support = yes
		navy_experience = 25
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.20.b1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.20.b1 executed"
		trigger = {
			USA = {
					has_navy_size = {
						size = 1
						archetype = battleship_hull_0
					}
				}
		}
		custom_effect_tooltip = USA_keep_iowa_class_TT
		USA_house_small_opposition = yes
		set_temp_variable = { treasury_change = -15 }
		modify_treasury_effect = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.20.c
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.20.c executed"
		trigger = {
			USA = {
					has_navy_size = {
						size > 0
						archetype = battleship_hull_0
					}
				}
		}
		custom_effect_tooltip = USA_recomission_ships_TT
		hidden_effect = {
			create_ship = {
				type = battleship_hull_1
				equipment_variant = "Iowa Class 80s refit"
				creator = USA
				name = "USS New Jersey (BBG-62)"
			}
			create_ship = {
				type = battleship_hull_1
				equipment_variant = "Iowa Class 80s refit"
				creator = USA
				name = "USS Missouri (BBG-63)"
			}
		}
		USA_house_large_opposition = yes
		set_temp_variable = { treasury_change = -80 }
		modify_treasury_effect = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_events_domestic_policies.20.d1
		log = "[GetDateText]: [This.GetName]: USA_events_domestic_policies.20.d1 executed"
		add_stability = 0.02
		trigger = {
			USA = {
					has_navy_size = {
						size = 0
						archetype = battleship_hull_0
					}
				}
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	# No Ships at all
}

## US Econ Tree Events
#United States vs Martin Petersen
country_event = {
	id = USA_econ_event.1
	title = USA_econ_event.1.t
	desc = USA_econ_event.1.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { #The Court Finds the Defendant Guilty
		name = USA_econ_event.1.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.1.o1 executed"
		set_temp_variable = { modify_economic_regulation = 2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = -3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
	}

	option = { #The Court Finds the Defendant Not Guilty
		name = USA_econ_event.1.o2
		log = "[GetDateText]: [This.GetName]: USA_econ_event.1.o2 executed"
		set_temp_variable = { modify_economic_regulation = -2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = 3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 10
		}
	}
}

#United States vs UnitedHealth & PacifiCare
country_event = {
	id = USA_econ_event.2
	title = USA_econ_event.2.t
	desc = USA_econ_event.2.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { #The Court Finds United Guilty
		name = USA_econ_event.2.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.2.o1 executed"
		set_temp_variable = { modify_economic_regulation = 2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = -3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
	}

	option = { #The Court Finds United Not Guilty
		name = USA_econ_event.2.o2
		log = "[GetDateText]: [This.GetName]: USA_econ_event.2.o2 executed"
		set_temp_variable = { modify_economic_regulation = -2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = 3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 10
		}
	}
}

#Rumors of M.A.R.S. Come From China
country_event = {
	id = USA_econ_event.7
	title = USA_econ_event.7.t
	desc = USA_econ_event.7.d
	picture = GFX_USA_generic
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { #How Will This Affect The Stock Market
		name = USA_econ_event.7.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.7.o1 executed"
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		decrease_economic_growth = yes
	}
}

country_event = {
	id = USA_econ_event.8
	title = USA_econ_event.8.t
	desc = USA_econ_event.8.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { #The New Age Crumbles?!?
		name = USA_econ_event.8.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.8.o1 executed"
		remove_ideas = { USA_rise_of_internet }
		769 = {
			if = {
				limit = { offices > 1 }
				remove_building = {
					type = offices
					level = 2
				}
			}
		}
		811 = {
			if = {
				limit = { offices > 1 }
				remove_building = {
					type = offices
					level = 2
				}
			}
		}
		set_temp_variable = { temp_productivity_change = -75 }
		flat_productivity_change_effect = yes
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.05 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_tax_collection_efficiency = -0.03 tooltip = tax_gain_multiplier_modifier_tt }
		add_to_variable = { tax_code_corporate_tax_collection_efficiency = -0.01 tooltip = corporate_tax_income_multiplier_modifier_tt }
		add_to_variable = { tax_code_office_park_tax_collection_efficiency = -0.01 tooltip = office_park_income_tax_modifier_tt }
		add_to_variable = { tax_code_interest_rate = 0.30 tooltip = interest_rate_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = -0.100 tooltip = productivity_growth_modifier_tt }
		hidden_effect = {
			set_country_flag = USA_flag_internet_recession
		}
	}
}

country_event = {
	id = USA_econ_event.9
	title = USA_econ_event.9.t
	desc = USA_econ_event.9.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { #The New Age Crumbles?!?
		name = USA_econ_event.9.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.9.o1 executed"
		set_temp_variable = { temp_productivity_change = -75 }
		flat_productivity_change_effect = yes
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.05 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_tax_collection_efficiency = -0.03 tooltip = tax_gain_multiplier_modifier_tt }
		add_to_variable = { tax_code_corporate_tax_collection_efficiency = -0.01 tooltip = corporate_tax_income_multiplier_modifier_tt }
		add_to_variable = { tax_code_office_park_tax_collection_efficiency = -0.01 tooltip = office_park_income_tax_modifier_tt }
		add_to_variable = { tax_code_interest_rate = 0.30 tooltip = interest_rate_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = -0.100 tooltip = productivity_growth_modifier_tt }
		add_timed_idea = {
			idea = USA_the_internet_recession
			days = 220
		}
	}
}

country_event = {
	id = USA_econ_event.10
	title = USA_econ_event.10.t
	desc = USA_econ_event.10.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { #These Hippies Don't Understand Business
		name = USA_econ_event.10.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.10.o1 executed"
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.05 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_corporate_tax_collection_efficiency = -0.01 tooltip = corporate_tax_income_multiplier_modifier_tt }
		add_to_variable = { tax_code_office_park_tax_collection_efficiency = -0.01 tooltip = office_park_income_tax_modifier_tt }
		add_to_variable = { tax_code_interest_rate = 0.30 tooltip = interest_rate_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = -0.050 tooltip = productivity_growth_modifier_tt }
		add_timed_idea = {
			idea = USA_anti_big_business_movement
			days = 547
		}
	}
}

# Global Financial Crisis
country_event = {
	id = USA_econ_event.11
	title = USA_econ_event.11.t
	desc = USA_econ_event.11.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = {
			OR = {
				has_country_flag = collapsed_nation
				has_country_flag = USA_housing_problems_detected
			}
		}
	}

	option = { #Sell! Sell! Sell!
		name = USA_econ_event.11.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.11.o1 executed"
		set_temp_variable = { temp_productivity_change = -100 }
		flat_productivity_change_effect = yes
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.10 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_tax_collection_efficiency = -0.03 tooltip = tax_gain_multiplier_modifier_tt }
		add_to_variable = { tax_code_corporate_tax_collection_efficiency = -0.03 tooltip = corporate_tax_income_multiplier_modifier_tt }
		add_to_variable = { tax_code_office_park_tax_collection_efficiency = -0.03 tooltip = office_park_income_tax_modifier_tt }
		add_to_variable = { tax_code_interest_rate = 0.55 tooltip = interest_rate_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = -0.250 tooltip = productivity_growth_modifier_tt }
		add_timed_idea = {
			idea = USA_the_global_financial_crisis
			days = 450
		}
		# LUIGI DO NOT TOUCH
		# Event trigger for the Eurozone Reforms
		hidden_effect = {
			if = {
				limit = {
					any_of_scopes = {
						array = global.EU_member
						is_ai = no
					}
					EU_eurozone_reforms_passed = no
				}
				random_scope_in_array = {
					array = global.EU_member
					limit = { is_ai = no }
					country_event = EUevent.7
				}
			}
			else = {
				random_scope_in_array = {
					array = global.EU_member
					country_event = EUevent.7
				}
			}
		}
		decrease_economic_growth = yes
		767 = {
			if = {
				limit = { offices > 1 }
				remove_building = {
					type = offices
					level = 2
				}
			}
		}
		769 = {
			if = {
				limit = { offices > 1 }
				remove_building = {
					type = offices
					level = 2
				}
			}
		}
		770 = {
			if = {
				limit = { offices > 1 }
				remove_building = {
					type = offices
					level = 2
				}
			}
		}
		772 = {
			if = {
				limit = { offices > 1 }
				remove_building = {
					type = offices
					level = 2
				}
			}
		}
		773 = {
			if = {
				limit = { offices > 1 }
				remove_building = {
					type = offices
					level = 2
				}
			}
		}
	}
}

country_event = {
	id = USA_econ_event.12
	title = USA_econ_event.12.t
	desc = USA_econ_event.12.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = {
			OR = {
				has_country_flag = collapsed_nation
				has_country_flag = USA_housing_problems_detected
			}
		}
	}

	option = { #These Hippies Don't Understand Business
		name = USA_econ_event.12.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.12.o1 executed"
		set_temp_variable = { temp_productivity_change = -25 }
		flat_productivity_change_effect = yes
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.05 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_tax_collection_efficiency = -0.01 tooltip = tax_gain_multiplier_modifier_tt }
		add_to_variable = { tax_code_corporate_tax_collection_efficiency = -0.01 tooltip = corporate_tax_income_multiplier_modifier_tt }
		add_to_variable = { tax_code_office_park_tax_collection_efficiency = -0.01 tooltip = office_park_income_tax_modifier_tt }
		add_to_variable = { tax_code_interest_rate = 0.15 tooltip = interest_rate_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = -0.050 tooltip = productivity_growth_modifier_tt }
		add_timed_idea = {
			idea = USA_subprime_mortgage_crisis
			days = 225
		}
	}
}

country_event = {
	id = USA_econ_event.14
	title = USA_econ_event.14.t
	desc = USA_econ_event.14.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = {
			OR = {
				has_country_flag = collapsed_nation
				has_country_flag = USA_housing_problems_detected
			}
		}
	}

	option = {
		name = USA_econ_event.14.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.14.o1 executed"
		set_temp_variable = { temp_productivity_change = -50 }
		flat_productivity_change_effect = yes
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.10 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_tax_collection_efficiency = -0.02 tooltip = tax_gain_multiplier_modifier_tt }
		add_to_variable = { tax_code_corporate_tax_collection_efficiency = -0.02 tooltip = corporate_tax_income_multiplier_modifier_tt }
		add_to_variable = { tax_code_interest_rate = 0.50 tooltip = interest_rate_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = -0.250 tooltip = productivity_growth_modifier_tt }
		add_timed_idea = {
			idea = USA_2008_housing_crash
			days = 730
		}
		decrease_economic_growth = yes
		ingame_update_setup = yes
	}
}

country_event = {
	id = USA_econ_event.15
	title = USA_econ_event.15.t
	desc = USA_econ_event.15.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = {
			OR = {
				has_country_flag = collapsed_nation
				has_country_flag = USA_housing_problems_detected
			}
		}
	}

	option = {
		name = USA_econ_event.15.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.15.o1 executed"
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.05 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_corporate_tax_collection_efficiency = -0.01 tooltip = corporate_tax_income_multiplier_modifier_tt }
		add_to_variable = { tax_code_office_park_tax_collection_efficiency = -0.01 tooltip = office_park_income_tax_modifier_tt }
		add_to_variable = { tax_code_interest_rate = 0.20 tooltip = interest_rate_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = -0.050 tooltip = productivity_growth_modifier_tt }
		add_timed_idea = {
			idea = USA_anti_big_business_movement_two
			days = 220
		}
	}
}

country_event = {
	id = USA_econ_event.16
	title = USA_econ_event.16.t
	desc = USA_econ_event.16.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = {
			OR = {
				has_country_flag = collapsed_nation
				has_country_flag = USA_housing_problems_detected
			}
		}
	}

	option = { #These Hippies Don't Understand Business
		name = USA_econ_event.16.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.16.o1 executed"
		set_temp_variable = { temp_productivity_change = -100 }
		flat_productivity_change_effect = yes
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.10 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_tax_collection_efficiency = -0.02 tooltip = tax_gain_multiplier_modifier_tt }
		add_to_variable = { tax_code_corporate_tax_collection_efficiency = -0.02 tooltip = corporate_tax_income_multiplier_modifier_tt }
		add_to_variable = { tax_code_interest_rate = 0.15 tooltip = interest_rate_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = -0.250 tooltip = productivity_growth_modifier_tt }
		add_timed_idea = {
			idea = USA_focus_the_long_recession
			days = 730
		}
	}
}

country_event = {
	id = USA_econ_event.17
	title = USA_econ_event.17.t
	desc = USA_econ_event.17.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = {
			OR = {
				has_country_flag = collapsed_nation
				has_country_flag = USA_housing_problems_detected
			}
		}
	}

	option = { #These Hippies Don't Understand Business
		name = USA_econ_event.17.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.17.o1 executed"
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.07 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_american_tax_code
		}
		add_to_variable = { tax_code_tax_collection_efficiency = -0.02 tooltip = tax_gain_multiplier_modifier_tt }
		add_to_variable = { tax_code_office_park_tax_collection_efficiency = -0.01 tooltip = office_park_income_tax_modifier_tt }
		add_to_variable = { tax_code_interest_rate = 0.10 tooltip = interest_rate_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = -0.025 tooltip = productivity_growth_modifier_tt }
		add_timed_idea = {
			idea = USA_focus_growing_plutocratic_influences
			days = 730
		}
	}
}

#U.S. V. GENERAL DYNAMICS CORP. AND NEWPORT NEWS SHIPBUILDING INC.  October 23, 2001
country_event = {
	id = USA_econ_event.18
	title = USA_econ_event.18.t
	desc = USA_econ_event.18.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 815
		has_full_control_of_state = 1212
	}

	option = {
		name = USA_econ_event.18.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.18.o1 executed"
		set_temp_variable = { modify_economic_regulation = 2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = -3 }
		change_wall_street_opinion = yes
		set_country_flag = anti_trust_awareness1
		unlock_decision_tooltip = USA_anti_trust_department
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 10
			modifier = {
				has_global_flag = USA_REFORMED_REPUBLIC_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_econ_event.18.o2
		log = "[GetDateText]: [This.GetName]: USA_econ_event.18.o2 executed"
		set_temp_variable = { modify_economic_regulation = -2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = 3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 5 }
	}
}

#U.S. V. NICHOLAS A. PENACHIO AND NICK PENACHIO CO., INC.  February 20, 2001
country_event = {
	id = USA_econ_event.19
	title = USA_econ_event.19.t
	desc = USA_econ_event.19.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 794
		has_full_control_of_state = 796
		has_full_control_of_state = 826
		has_full_control_of_state = 818
		has_full_control_of_state = 824
		has_full_control_of_state = 424
	}

	option = {
		name = USA_econ_event.19.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.19.o1 executed"
		set_temp_variable = { modify_economic_regulation = 2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = -3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 10 }
	}

	option = {
		name = USA_econ_event.19.o2
		log = "[GetDateText]: [This.GetName]: USA_econ_event.19.o2 executed"
		set_temp_variable = { modify_economic_regulation = -2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = 3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 5 }
	}
}

#U.S. V. VAW CARBON GMBH  April 1, 2002
country_event = {
	id = USA_econ_event.20
	title = USA_econ_event.20.t
	desc = USA_econ_event.20.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 792
		has_full_control_of_state = 795
		has_full_control_of_state = 797
		has_full_control_of_state = 798
	}

	option = {
		name = USA_econ_event.20.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.20.o1 executed"
		set_temp_variable = { modify_economic_regulation = 2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = -3 }
		change_wall_street_opinion = yes
		unlock_decision_tooltip = USA_union_act
		set_country_flag = anti_trust_awareness2
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 10
			modifier = {
				has_global_flag = USA_REFORMED_REPUBLIC_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_econ_event.20.o2
		log = "[GetDateText]: [This.GetName]: USA_econ_event.20.o2 executed"
		set_temp_variable = { modify_economic_regulation = -2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = 3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 5 }
	}
}

#U.S. V. TAYLOR & MURPHY CONSTRUCTION CO., INC.  September 9th, 2002
country_event = {
	id = USA_econ_event.21
	title = USA_econ_event.21.t
	desc = USA_econ_event.21.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 790
		has_full_control_of_state = 791
		has_full_control_of_state = 793
		has_full_control_of_state = 799
	}

	option = {
		name = USA_econ_event.21.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.21.o1 executed"
		set_temp_variable = { modify_economic_regulation = 2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = -3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 10 }
	}

	option = {
		name = USA_econ_event.21.o2
		log = "[GetDateText]: [This.GetName]: USA_econ_event.21.o2 executed"
		set_temp_variable = { modify_economic_regulation = -2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = 3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 5 }
	}
}

#United States v. Bluestar Metal Recycling Co.  March 3rd, 2003
country_event = {
	id = USA_econ_event.22
	title = USA_econ_event.22.t
	desc = USA_econ_event.22.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 811
		has_full_control_of_state = 624
		has_full_control_of_state = 488
	}

	option = {
		name = USA_econ_event.22.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.22.o1 executed"
		set_temp_variable = { modify_economic_regulation = 2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = -3 }
		change_wall_street_opinion = yes
		unlock_decision_tooltip = USA_automation_act
		set_country_flag = anti_trust_awareness3
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 10
			modifier = {
				has_global_flag = USA_REFORMED_REPUBLIC_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_econ_event.22.o2
		log = "[GetDateText]: [This.GetName]: USA_econ_event.22.o2 executed"
		set_temp_variable = { modify_economic_regulation = -2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = 3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 5 }
	}
}

#United States v. Duane Maynard  August 19th, 2003
country_event = {
	id = USA_econ_event.23
	title = USA_econ_event.23.t
	desc = USA_econ_event.23.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 764
		has_full_control_of_state = 765
	}

	option = {
		name = USA_econ_event.23.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.23.o1 executed"
		set_temp_variable = { modify_economic_regulation = 2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = -3 }
		change_wall_street_opinion = yes
		unlock_decision_tooltip = USA_safe_banking_act
		set_country_flag = anti_trust_awareness4
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 10
			modifier = {
				has_global_flag = USA_REFORMED_REPUBLIC_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_econ_event.23.o2
		log = "[GetDateText]: [This.GetName]: USA_econ_event.23.o2 executed"
		set_temp_variable = { modify_economic_regulation = -2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = 3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 5 }
	}
}

#United States v. Waterblock Roofing and Sheetmetal, Inc.  June 29th, 2004
country_event = {
	id = USA_econ_event.24
	title = USA_econ_event.24.t
	desc = USA_econ_event.24.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 766
		has_full_control_of_state = 767
		has_full_control_of_state = 768
		has_full_control_of_state = 1084
	}

	option = {
		name = USA_econ_event.24.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.24.o1 executed"
		set_temp_variable = { modify_economic_regulation = 2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = -3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 10 }
	}

	option = {
		name = USA_econ_event.24.o2
		log = "[GetDateText]: [This.GetName]: USA_econ_event.24.o2 executed"
		set_temp_variable = { modify_economic_regulation = -2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = 3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 5 }
	}
}

#United States v. Syndial S.p.A. May 2nd, 2005
country_event = {
	id = USA_econ_event.25
	title = USA_econ_event.25.t
	desc = USA_econ_event.25.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 769
	}

	option = {
		name = USA_econ_event.25.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.25.o1 executed"
		set_temp_variable = { modify_economic_regulation = 2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = -3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 10 }
	}

	option = {
		name = USA_econ_event.25.o2
		log = "[GetDateText]: [This.GetName]: USA_econ_event.25.o2 executed"
		set_temp_variable = { modify_economic_regulation = -2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = 3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 10 }
	}
}

#United States v. Ryan's World, Inc.  September 27th, 2006
country_event = {
	id = USA_econ_event.26
	title = USA_econ_event.26.t
	desc = USA_econ_event.26.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_econ_event.26.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.26.o1 executed"
		set_temp_variable = { modify_economic_regulation = 2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = -3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 10 }
	}

	option = {
		name = USA_econ_event.26.o2
		log = "[GetDateText]: [This.GetName]: USA_econ_event.26.o2 executed"
		set_temp_variable = { modify_economic_regulation = -2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = 3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 10 }
	}
}

#United States v. John R. Olsen  March 28th, 2006
country_event = {
	id = USA_econ_event.27
	title = USA_econ_event.27.t
	desc = USA_econ_event.27.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_econ_event.27.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.27.o1 executed"
		set_temp_variable = { modify_economic_regulation = 2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = -3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 10 }
	}

	option = {
		name = USA_econ_event.27.o2
		log = "[GetDateText]: [This.GetName]: USA_econ_event.27.o2 executed"
		set_temp_variable = { modify_economic_regulation = -2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = 3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 10 }
	}
}

#United States v. Certified Slings, Inc.  November 29th, 2007
country_event = {
	id = USA_econ_event.28
	title = USA_econ_event.28.t
	desc = USA_econ_event.28.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_econ_event.28.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.28.o1 executed"
		set_temp_variable = { modify_economic_regulation = 2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = -3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 10 }
	}

	option = {
		name = USA_econ_event.28.o2
		log = "[GetDateText]: [This.GetName]: USA_econ_event.28.o2 executed"
		set_temp_variable = { modify_economic_regulation = -2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = 3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 10 }
	}
}

#United States v. MA-RI-AL Corp.  February 28th, 2007
country_event = {
	id = USA_econ_event.29
	title = USA_econ_event.29.t
	desc = USA_econ_event.29.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_econ_event.29.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.29.o1 executed"
		set_temp_variable = { modify_economic_regulation = 2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = -3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 10 }
	}

	option = {
		name = USA_econ_event.29.o2
		log = "[GetDateText]: [This.GetName]: USA_econ_event.29.o2 executed"
		set_temp_variable = { modify_economic_regulation = -2 }
		USA_modify_economic_regulation = yes
		set_temp_variable = { temp_opinion = 3 }
		change_wall_street_opinion = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 10 }
	}
}

#BAE Systems Acquisition of United Defense (historical: 2005-06-24)
country_event = {
	id = USA_econ_event.30
	title = USA_econ_event.30.t
	desc = USA_econ_event.30.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = usa_bae_acquired_united_defense }
		NOT = { has_country_flag = usa_bae_acquisition_blocked }
	}

	option = { # Approve the acquisition
		name = USA_econ_event.30.a
		log = "[GetDateText]: [Root.GetName]: USA_econ_event.30.a executed"
		set_country_flag = usa_bae_acquired_united_defense
		unlock_military_industrial_organization_tooltip = mio:USA_bae_systems_platforms
		USA_bae_absorb_united_defense = yes
		ai_chance = {
			base = 85
		}
	}

	option = { # Order DOJ antitrust review
		name = USA_econ_event.30.b
		log = "[GetDateText]: [Root.GetName]: USA_econ_event.30.b executed"
		set_country_flag = usa_bae_acquisition_blocked
		mio:USA_united_defense_tank_manufacturer = {
			add_mio_funds = 250
		}
		add_political_power = -25
		ai_chance = {
			base = 15
		}
	}
}

#Public Discomfort With The Media
country_event = {
	id = USA_econ_event.50
	title = USA_econ_event.50.t
	desc = USA_econ_event.50.d
	picture = GFX_political_activist
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 776
		has_full_control_of_state = 778
	}

	option = { #Unfounded Fears
		name = USA_econ_event.50.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.50.o1 executed"
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		set_temp_variable = { temp_outlook_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 1
		}
	}

	option = { #Public Wariness Grows
		name = USA_econ_event.50.o2
		log = "[GetDateText]: [This.GetName]: USA_econ_event.50.o2 executed"
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.07 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}

#### US 2008 Prevention Events #####
country_event = {
	id = USA_econ_event.100
	title = USA_econ_event.100.t
	desc = USA_econ_event.100.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { #We Could Entertain This
		name = USA_econ_event.100.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.100.o1 executed"
		country_event = {
			id = USA_econ_event.101
			days = 81
		}
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.05 tooltip = political_power_factor_tt }
		ai_chance = {
			base = 10
			modifier = {
				has_global_flag = USA_REFORMED_REPUBLIC_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_econ_event.100.o2
		log = "[GetDateText]: [This.GetName]: USA_econ_event.100.o2 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.04 tooltip = political_power_factor_tt }
		ai_chance = {
			base = 5
			modifier = {
				is_historical_focus_on = yes
				factor = 1000
			}
		}
	}

	# Ignore It
}

country_event = {
	id = USA_econ_event.101
	title = USA_econ_event.101.t
	desc = USA_econ_event.101.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	# We Could Entertain This
	option = {
		name = USA_econ_event.101.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.101.o1 executed"
		country_event = {
			id = USA_econ_event.102
			days = 81
		}
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.05 tooltip = political_power_factor_tt }
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_REFORMED_REPUBLIC_PATH
				factor = 1000
			}
		}
	}

	option = {
	name = USA_econ_event.101.o2
	log = "[GetDateText]: [This.GetName]: USA_econ_event.101.o2 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.04 tooltip = political_power_factor_tt }
		ai_chance = {
			base = 10
			modifier = {
				is_historical_focus_on = yes
				factor = 1000
			}
		}
	}

	# Ignore It
}

country_event = {
	id = USA_econ_event.102
	title = USA_econ_event.102.t
	desc = USA_econ_event.102.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	# We Could Entertain This
	option = {
		name = USA_econ_event.102.o1
		log = "[GetDateText]: [This.GetName]: USA_econ_event.102.o1 executed"
		set_country_flag = USA_housing_problems_detected
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.05 tooltip = political_power_factor_tt }
		hidden_effect = {
			set_country_flag = public_ignored1
			set_country_flag = public_ignored3
			set_country_flag = public_ignored5
			set_country_flag = anti_trust_awareness1
			set_country_flag = anti_trust_awareness2
			set_country_flag = anti_trust_awareness3
			set_country_flag = anti_trust_awareness4
		}
	}
}

###Public and Domestic Based Unrest events
#Rise in Libertarianism
country_event = {
	id = USA_unrest_event.1
	title = USA_unrest_event.1.t
	desc = USA_unrest_event.1.d
	picture = GFX_political_activist
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_unrest_event.1.o1
		log = "[GetDateText]: [This.GetName]: USA_unrest_event.1.o1 executed"
		add_political_power = -100
		unlock_decision_tooltip = USA_political_diversity_act
		set_country_flag = public_ignored1
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.04 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 10
			modifier = {
				has_global_flag = USA_REFORMED_REPUBLIC_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_unrest_event.1.o2
		log = "[GetDateText]: [This.GetName]: USA_unrest_event.1.o2 executed"
		add_political_power = 100
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		set_temp_variable = { temp_outlook_increase = 0.01 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}

#Rise in Isolationism
country_event = {
	id = USA_unrest_event.2
	title = USA_unrest_event.2.t
	desc = USA_unrest_event.2.d
	picture = GFX_political_activist
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_unrest_event.2.o1
		log = "[GetDateText]: [This.GetName]: USA_unrest_event.2.o1 executed"
		add_political_power = -100
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.04 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.07 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_unrest_event.2.o2
		log = "[GetDateText]: [This.GetName]: USA_unrest_event.2.o2 executed"
		add_political_power = 100
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		set_temp_variable = { temp_outlook_increase = 0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}

#Rise of Socialist Thinking
country_event = {
	id = USA_unrest_event.3
	title = USA_unrest_event.3.t
	desc = USA_unrest_event.3.d
	picture = GFX_political_activist
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_unrest_event.3.o1
		log = "[GetDateText]: [This.GetName]: USA_unrest_event.3.o1 executed"
		add_political_power = -100
		unlock_decision_tooltip = USA_political_Fairness_act
		set_country_flag = public_ignored3
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.07 }
		set_temp_variable = { temp_outlook_increase = 0.04 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 10
			modifier = {
				has_global_flag = USA_REFORMED_REPUBLIC_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_unrest_event.3.o2
		log = "[GetDateText]: [This.GetName]: USA_unrest_event.3.o2 executed"
		add_political_power = 100
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		set_temp_variable = { temp_outlook_increase = 0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}

#Rising Natioanlist Movements
country_event = {
	id = USA_unrest_event.4
	title = USA_unrest_event.4.t
	desc = USA_unrest_event.4.d
	picture = GFX_political_activist
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_unrest_event.4.o1
		log = "[GetDateText]: [This.GetName]: USA_unrest_event.4.o1 executed"
		add_political_power = -100
		set_country_flag = public_ignored4
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.08 }
		set_temp_variable = { temp_outlook_increase = 0.04 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.08 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_unrest_event.4.o2
		log = "[GetDateText]: [This.GetName]: USA_unrest_event.4.o2 executed"
		add_political_power = 100
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		set_temp_variable = { temp_outlook_increase = 0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.01 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}

#Environmentalism On The Rise
country_event = {
	id = USA_unrest_event.5
	title = USA_unrest_event.5.t
	desc = USA_unrest_event.5.d
	picture = GFX_political_activist
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_unrest_event.5.o1
		log = "[GetDateText]: [This.GetName]: USA_unrest_event.5.o1 executed"
		add_political_power = -100
		unlock_decision_tooltip = USA_federal_elections_act
		set_country_flag = public_ignored5
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.10 }
		set_temp_variable = { temp_outlook_increase = 0.04 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 10
			modifier = {
				has_global_flag = USA_REFORMED_REPUBLIC_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_unrest_event.5.o2
		log = "[GetDateText]: [This.GetName]: USA_unrest_event.5.o2 executed"
		add_political_power = 100
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		set_temp_variable = { temp_outlook_increase = 0.01 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}

#Plutocratic Liberals Worry Public
country_event = {
	id = USA_unrest_event.6
	title = USA_unrest_event.6.t
	desc = USA_unrest_event.6.d
	picture = GFX_political_activist
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_unrest_event.6.o1
		log = "[GetDateText]: [This.GetName]: USA_unrest_event.6.o1 executed"
		add_political_power = -100
		set_country_flag = public_ignored6
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.04 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 15 }
		set_temp_variable = { party_popularity_increase = 0.10 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_unrest_event.6.o2
		log = "[GetDateText]: [This.GetName]: USA_unrest_event.6.o2 executed"
		add_political_power = 100
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		set_temp_variable = { temp_outlook_increase = 0.01 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 15 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}

##Reformed Republic Events
country_event = {
	id = USA_reformed_republic.1
	title = USA_reformed_republic.1.t
	desc = USA_reformed_republic.1.d
	picture = GFX_political_activist
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_completed_focus = USA_the_tides_of_the_peoples_will
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_reformed_republic.1.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.1.o1 executed"
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.30 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		change_relative_party_popularity = yes
		swap_ideas = {
			remove_idea = wall_street
			add_idea = farmers
		}
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_reformed_republic.1.o2
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.1.o2 executed"
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.30 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		change_relative_party_popularity = yes
		swap_ideas = {
			remove_idea = wall_street
			add_idea = small_medium_business_owners
		}
		ai_chance = { base = 5 }
	}
}

country_event = {
	id = USA_reformed_republic.2
	title = USA_reformed_republic.2.t
	desc = USA_reformed_republic.2.d
	picture = GFX_political_activist
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_completed_focus = USA_people_seeking
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_reformed_republic.2.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.2.o1 executed"
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		set_temp_variable = { temp_outlook_increase = 0.09 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		swap_ideas = {
			remove_idea = defense_industry
			add_idea = labour_unions
		}
		ai_chance = { base = 5 }
	}

	option = {
		name = USA_reformed_republic.2.o2
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.2.o2 executed"
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		set_temp_variable = { temp_outlook_increase = 0.09 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		swap_ideas = {
			remove_idea = defense_industry
			add_idea = the_clergy
		}
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = USA_reformed_republic.3
	title = USA_reformed_republic.3.t
	desc = USA_reformed_republic.3.d
	picture = GFX_political_activist
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_completed_focus = USA_true_representative
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_reformed_republic.3.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.3.o1 executed"
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.20 }
		set_temp_variable = { temp_outlook_increase = 0.13 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		swap_ideas = {
			remove_idea = intelligence_community
			add_idea = industrial_conglomerates
		}
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_reformed_republic.3.o2
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.3.o2 executed"
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.20 }
		set_temp_variable = { temp_outlook_increase = 0.13 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		swap_ideas = {
			remove_idea = intelligence_community
			add_idea = fossil_fuel_industry
		}
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = USA_reformed_republic.4
	title = USA_reformed_republic.4.t
	desc = USA_reformed_republic.4.d
	picture = GFX_political_activist
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_completed_focus = USA_true_representative
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_reformed_republic.4.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.4.o1 executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		set_temp_variable = { temp_outlook_increase = 0.06 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_reformed_republic.4.o2
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.4.o2 executed"
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.10 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = USA_reformed_republic.5
	title = USA_reformed_republic.5.t
	desc = USA_reformed_republic.5.d
	picture = GFX_internal_faction_political_conflict
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		has_completed_focus = USA_truly_free_market
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_reformed_republic.5.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.5.o1 executed"
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.30 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		ai_chance = { base = 3 }
	}

	option = {
		name = USA_reformed_republic.5.o2
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.5.o2 executed"
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		set_temp_variable = { temp_outlook_increase = 0.04 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_reformed_republic.5.o3
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.5.o3 executed"
		set_temp_variable = { party_index = 15 }
		set_temp_variable = { party_popularity_increase = 0.30 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = USA_reformed_republic.100
	title = USA_reformed_republic.100.t
	desc = USA_reformed_republic.100.d
	picture = GFX_Military_Reform
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_completed_focus = USA_national_recruitment_act
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_reformed_republic.100.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.100.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_nationalist_drift = 0.03 tooltip = nationalist_drift_tt }
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.10 }
		set_temp_variable = { temp_outlook_increase = 0.07 }
		change_relative_party_popularity = yes
		country_event = {
			id = USA_reformed_republic.101
			days = 14
		}
	}
}

country_event = {
	id = USA_reformed_republic.101
	title = USA_reformed_republic.101.t
	desc = USA_reformed_republic.101.d
	picture = GFX_generic_soldiers
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_reformed_republic.101.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.101.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_nationalist_drift = 0.03 tooltip = nationalist_drift_tt }
		set_country_flag = USA_militarist_lead_coalition
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.20 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_reformed_republic.200
	title = USA_reformed_republic.200.t
	desc = USA_reformed_republic.200.d
	picture = GFX_politics_far_right
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_completed_focus = USA_family_care_package_act
	}

	option = {
		name = USA_reformed_republic.200.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.200.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_nationalist_drift = 0.03 tooltip = nationalist_drift_tt }
		add_to_variable = { domestic_monthly_pop = -0.10 tooltip = monthly_population_tt }
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.10 }
		set_temp_variable = { temp_outlook_increase = 0.07 }
		change_relative_party_popularity = yes
		country_event = {
			id = USA_reformed_republic.201
			days = 14
		}
	}
}

country_event = {
	id = USA_reformed_republic.201
	title = USA_reformed_republic.201.t
	desc = USA_reformed_republic.201.d
	picture = GFX_politics_nazi
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_reformed_republic.201.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.201.o1 executed"
		set_country_flag = USA_fascist_lead_coalition
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_nationalist_drift = 0.03 tooltip = nationalist_drift_tt }
		add_to_variable = { domestic_monthly_pop = -0.25 tooltip = monthly_population_tt }
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.20 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_reformed_republic.300
	title = USA_reformed_republic.300.t
	desc = USA_reformed_republic.300.d
	picture = GFX_USA_monarchy_2
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = {
		name = USA_reformed_republic.300.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.300.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_nationalist_drift = 0.03 tooltip = nationalist_drift_tt }
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.10 }
		set_temp_variable = { temp_outlook_increase = 0.07 }
		change_relative_party_popularity = yes
		country_event = {
			id = USA_reformed_republic.301
			days = 14
		}
	}
}

country_event = {
	id = USA_reformed_republic.301
	title = USA_reformed_republic.301.t
	desc = USA_reformed_republic.301.d
	picture = GFX_USA_monarchy_2
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = {
		name = USA_reformed_republic.301.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.301.o1 executed"
		set_country_flag = USA_modern_monarchist_lead_coalition
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_nationalist_drift = 0.03 tooltip = nationalist_drift_tt }
		add_to_variable = { domestic_political_power_gain = -0.05 tooltip = political_power_factor_tt }
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.20 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_reformed_republic.400
	title = USA_reformed_republic.400.t
	desc = USA_reformed_republic.400.d
	picture = GFX_generic_soldiers
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_completed_focus = USA_expansion_of_jrotc_programs
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_reformed_republic.400.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.400.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_communist_drift = 0.03 tooltip = communism_drift_tt }
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.10 }
		set_temp_variable = { temp_outlook_increase = 0.07 }
		change_relative_party_popularity = yes
		country_event = {
			id = USA_reformed_republic.401
			days = 14
		}
	}
}

country_event = {
	id = USA_reformed_republic.401
	title = USA_reformed_republic.401.t
	desc = USA_reformed_republic.401.d
	picture = GFX_generic_soldiers
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_reformed_republic.401.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.401.o1 executed"
		set_country_flag = USA_red_junta_commissariat_coup
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_communist_drift = 0.05 tooltip = communism_drift_tt }
		add_to_variable = { domestic_political_power_gain = -0.08 tooltip = political_power_factor_tt }
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.20 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_reformed_republic.500
	title = USA_reformed_republic.500.t
	desc = USA_reformed_republic.500.d
	picture = GFX_politics_communist_dream
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_completed_focus = USA_revolutionary_integrity
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_reformed_republic.500.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.500.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_communist_drift = 0.03 tooltip = communism_drift_tt }
		set_temp_variable = { party_index = 7 }
		set_temp_variable = { party_popularity_increase = 0.10 }
		set_temp_variable = { temp_outlook_increase = 0.07 }
		change_relative_party_popularity = yes
		country_event = {
			id = USA_reformed_republic.501
			days = 14
		}
	}
}

country_event = {
	id = USA_reformed_republic.501
	title = USA_reformed_republic.501.t
	desc = USA_reformed_republic.501.d
	picture = GFX_politics_communist_dream
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_reformed_republic.501.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.501.o1 executed"
		set_country_flag = USA_the_socialist_workers_party_seize_power
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_communist_drift = 0.05 tooltip = communism_drift_tt }
		add_to_variable = { domestic_political_power_gain = -0.12 tooltip = political_power_factor_tt }
		set_temp_variable = { party_index = 7 }
		set_temp_variable = { party_popularity_increase = 0.20 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_reformed_republic.600
	title = USA_reformed_republic.600.t
	desc = USA_reformed_republic.600.d
	picture = GFX_politics_anarchism
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_completed_focus = USA_communal_hospitals_act
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_reformed_republic.600.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.600.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_communist_drift = 0.03 tooltip = communism_drift_tt }
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.10 }
		set_temp_variable = { temp_outlook_increase = 0.07 }
		change_relative_party_popularity = yes
		country_event = {
			id = USA_reformed_republic.601
			days = 14
		}
	}
}

country_event = {
	id = USA_reformed_republic.601
	title = USA_reformed_republic.601.t
	desc = USA_reformed_republic.601.d
	picture = GFX_politics_anarchism
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_reformed_republic.601.o1
		log = "[GetDateText]: [This.GetName]: USA_reformed_republic.601.o1 executed"
		set_country_flag = USA_the_anarchist_society_collectivizes_victory
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_communist_drift = 0.05 tooltip = communism_drift_tt }
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.20 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		change_relative_party_popularity = yes
	}
}

##Mini Crisis Event Chains
#First Crisis Chain
country_event = {
	id = USA_crisis_event.1
	title = USA_crisis_event.1.t
	desc = USA_crisis_event.1.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 775
		has_full_control_of_state = 782
		has_full_control_of_state = 783
	}

	option = {
		name = USA_crisis_event.1.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1.o1 executed"
		add_stability = -0.05
		add_war_support = -0.05
		add_popularity = { ideology = democratic popularity = -0.03 }
		add_ideas = us_public_disorder
		hidden_effect = {
			country_event = {
				id = USA_crisis_event.2
				days = 15
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_POST_UNITED_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_crisis_event.1.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1.o2 executed"
		add_stability = -0.10
		add_war_support = -0.10
		add_popularity = { ideology = democratic popularity = -0.07 }
		add_ideas = us_public_disorder
		hidden_effect = {
			country_event = {
				id = USA_crisis_event.500
				days = 30
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_POST_UNITED_PATH
				factor = 0
			}
		}
	}

	option = {
		name = USA_crisis_event.1.o3
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1.o3 executed"
		add_stability = -0.05
		add_war_support = -0.05
		add_popularity = { ideology = democratic popularity = -0.03 }
		add_ideas = us_public_disorder
		hidden_effect = {
			country_event = {
				id = USA_crisis_event.2
				days = 30
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_POST_UNITED_PATH
				factor = 1000
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.2
	title = USA_crisis_event.2.t
	desc = USA_crisis_event.2.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 777
		has_full_control_of_state = 779
		has_full_control_of_state = 780
		has_full_control_of_state = 781
	}

	option = {
		name = USA_crisis_event.2.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.2.o1 executed"
		add_stability = -0.10
		add_war_support = -0.10
		add_popularity = { ideology = democratic popularity = -0.07 }
		add_ideas = us_public_disorder_two
		hidden_effect = {
			remove_ideas = us_public_disorder
			country_event = {
				id = USA_crisis_event.3
				days = 30
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_POST_UNITED_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_crisis_event.2.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.2.o2 executed"
		add_stability = -0.15
		add_war_support = -0.15
		add_popularity = { ideology = democratic popularity = -0.10 }
		add_ideas = us_public_disorder_two
		hidden_effect = {
			remove_ideas = us_public_disorder
			country_event = {
				id = USA_crisis_event.500
				days = 30
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_POST_UNITED_PATH
				factor = 0
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.3
	title = USA_crisis_event.3.t
	desc = USA_crisis_event.3.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 784
		has_full_control_of_state = 785
	}

	option = {
		name = USA_crisis_event.3.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.3.o1 executed"
		add_stability = -0.20
		add_war_support = -0.20
		add_popularity = { ideology = democratic popularity = -0.10 }
		add_ideas = us_public_disorder_three
		hidden_effect = {
			remove_ideas = us_public_disorder_two
			country_event = {
				id = USA_collapse_event.1
				days = 35
			}
		}
		ai_chance = {
			base = 0
			modifier = {
				has_global_flag = USA_POST_UNITED_PATH
				add = 100
			}
		}
	}

	option = {
		name = USA_crisis_event.3.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.3.o2 executed"
		add_stability = -0.20
		add_war_support = -0.20
		add_ideas = us_public_disorder_three
		hidden_effect = {
			remove_ideas = us_public_disorder_two
			country_event = {
				id = USA_crisis_event.500
				days = 30
			}
		}
		ai_chance = {
			base = 5
			modifier = {
				has_global_flag = USA_POST_UNITED_PATH
				add = -5
			}
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				add = 5
			}
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				add = 5
			}
			modifier = {
				has_global_flag = USA_ALL_AHEAD_SLOW
				add = 100
			}
			modifier = {
				is_historical_focus_on = yes
				add = 100
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.500
	title = USA_crisis_event.500.t
	desc = USA_crisis_event.500.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 786
		has_full_control_of_state = 787
		has_full_control_of_state = 788
		has_full_control_of_state = 789
	}

	option = {
		name = USA_crisis_event.500.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.500.o1 executed"
		add_stability = 0.05
		add_war_support = 0.05
		add_popularity = { ideology = democratic popularity = 0.05 }
		remove_ideas = us_public_disorder
		hidden_effect = {
			remove_ideas = us_public_disorder_two
			remove_ideas = us_public_disorder_three
		}
	}
}

###### Mini Crisis Event Chain 2 ######
country_event = {
	id = USA_crisis_event.4
	title = USA_crisis_event.4.t
	desc = USA_crisis_event.4.d
	picture = GFX_politics_talks
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_crisis_event.4.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.4.o1 executed"
		add_stability = -0.03
		add_war_support = -0.03
		add_popularity = { ideology = democratic popularity = -0.02 }
		add_ideas = us_public_disorder
		country_event = {
			id = USA_crisis_event.5
			days = 5
		}
	}
}

country_event = {
	id = USA_crisis_event.5
	title = USA_crisis_event.5.t
	desc = USA_crisis_event.5.d
	picture = GFX_politics_talks
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_crisis_event.5.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.5.o1 executed"
		add_stability = -0.06
		add_war_support = -0.07
		add_popularity = { ideology = democratic popularity = -0.03 }
		country_event = {
			id = USA_crisis_event.6
			days = 35
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_POST_UNITED_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_crisis_event.5.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.5.o2 executed"
		add_stability = -0.06
		add_war_support = -0.07
		add_popularity = { ideology = democratic popularity = -0.01 }
		add_ideas = us_public_disorder_two
		remove_ideas = us_public_disorder
		country_event = {
			id = USA_crisis_event.600
			days = 35
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_POST_UNITED_PATH
				factor = 0
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.6
	title = USA_crisis_event.6.t
	desc = USA_crisis_event.6.d
	picture = GFX_stock_market
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_crisis_event.6.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.6.o1 executed"
		add_stability = -0.09
		add_war_support = -0.09
		add_popularity = { ideology = democratic popularity = -0.05 }
		add_ideas = us_public_disorder_two
		remove_ideas = us_public_disorder
		country_event = {
			id = USA_crisis_event.7
			days = 35
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_POST_UNITED_PATH
				factor = 1000
			}
		}
	}

	option = {
		name = USA_crisis_event.6.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.6.o2 executed"
		add_stability = -0.03
		add_war_support = -0.03
		add_popularity = { ideology = democratic popularity = -0.02 }
		add_ideas = us_public_disorder_two
		remove_ideas = us_public_disorder
		country_event = {
			id = USA_crisis_event.600
			days = 35
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_POST_UNITED_PATH
				factor = 0
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.7
	title = USA_crisis_event.7.t
	desc = USA_crisis_event.7.d
	picture = GFX_banking_crisis
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_crisis_event.7.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.7.o1 executed"
		add_stability = -0.12
		add_war_support = -0.12
		add_popularity = { ideology = democratic popularity = -0.07 }
		add_ideas = us_public_disorder_three
		remove_ideas = us_public_disorder_two
		country_event = {
			id = USA_collapse_event.1
			days = 35
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_POST_UNITED_PATH
				factor = 1000
			}
			modifier = {
				has_global_flag = USA_ALL_AHEAD_SLOW
				factor = 0
			}
		}
	}

	option = {
		name = USA_crisis_event.7.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.7.o2 executed"
		add_stability = -0.05
		add_war_support = -0.05
		add_popularity = { ideology = democratic popularity = -0.04 }
		add_ideas = us_public_disorder_three
		remove_ideas = us_public_disorder_two
		country_event = {
			id = USA_crisis_event.600
			days = 35
		}
		ai_chance = {
			base = 5
			modifier = {
				is_historical_focus_on = yes
				factor = 100
			}
			modifier = {
				has_global_flag = USA_POST_UNITED_PATH
				factor = 0
			}
			modifier = {
				has_global_flag = USA_ALL_AHEAD_SLOW
				factor = 1000
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.600
	title = USA_crisis_event.600.t
	desc = USA_crisis_event.600.d
	picture = GFX_politics_talks
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_crisis_event.600.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.600.o1 executed"
		add_stability = 0.08
		add_war_support = 0.08
		add_popularity = { ideology = democratic popularity = 0.15 }
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.10 }
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.10 }
		remove_ideas = us_public_disorder_three
		remove_ideas = us_public_disorder_two
		remove_ideas = us_public_disorder
	}
}

country_event = {
	id = USA_crisis_event.8
	title = USA_crisis_event.8.t
	desc = USA_crisis_event.8.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_crisis_event.8.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.8.o1 executed"
		add_stability = 0.05
		add_war_support = 0.05
		ai_chance = {
			base = 5
			modifier = {
				has_global_flag = USA_POST_UNITED_PATH
				factor = 1
			}
			modifier = {
				has_global_flag = USA_ALL_AHEAD_SLOW
				factor = 1000
			}
		}
	}

	option = {
		name = USA_crisis_event.8.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.8.o2 executed"
		add_stability = -0.07
		add_war_support = -0.25
		add_popularity = { ideology = democratic popularity = -0.25 }
		country_event = {
			id = USA_collapse_event.1
			days = 30
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_POST_UNITED_PATH
				factor = 50
			}
			modifier = {
				has_global_flag = USA_ALL_AHEAD_SLOW
				factor = 0
			}
		}
	}
}

##Post United Collapse Chain
country_event = {
	id = USA_collapse_event.1
	title = USA_collapse_event.1.t
	desc = USA_collapse_event.1.d
	picture = GFX_train_collision
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 803
		has_full_control_of_state = 804
		has_full_control_of_state = 805
		has_full_control_of_state = 806
		has_full_control_of_state = 807
	}

	option = {
		name = USA_collapse_event.1.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.1.o1 executed"
		add_stability = -0.20
		add_war_support = -0.20
		add_ideas = us_public_disorder_four
		add_named_threat = { threat = 3 name = USA_collapse_event.1.t }
		country_event = {
			id = USA_collapse_event.2
			days = 31
		}
		hidden_effect = {
			increase_corruption = yes
			increase_corruption = yes
			decrease_healthcare_budget = yes
			decrease_social_spending = yes
			decrease_policing_budget = yes
			decrease_education_budget = yes
			decrease_centralization = yes
			remove_ideas = us_public_disorder_three
			set_temp_variable = { debt_change = -20000 }
			modify_debt_effect = yes
			set_temp_variable = { temp_productivity_change = -100 }
			flat_productivity_change_effect = yes
		}
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = USA_collapse_event.2
	title = USA_collapse_event.2.t
	desc = USA_collapse_event.2.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 814
		has_full_control_of_state = 1010
	}

	option = {
		name = USA_collapse_event.2.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.2.o1 executed"
		add_stability = -0.25
		add_war_support = -0.25
		add_ideas = us_public_disorder_five
		add_named_threat = { threat = 5 name = USA_collapse_event.2.t }
		country_event = {
			id = USA_collapse_event.3
			days = 31
		}
		news_event = {
			id = USA_collapse_event.3000
			days = 7
		}
		every_owned_state = {
			if = {
				limit = { infrastructure > 0 }
				damage_building = {
					type = infrastructure
					damage = 1
				}
			}
			if = {
				limit = { industrial_complex > 0 }
				damage_building = {
					type = industrial_complex
					damage = 3
				}
			}
		}
		hidden_effect = {
			increase_corruption = yes
			increase_corruption = yes
			decrease_healthcare_budget = yes
			decrease_social_spending = yes
			decrease_policing_budget = yes
			decrease_education_budget = yes
			decrease_centralization = yes
			remove_ideas = us_public_disorder_four
			set_temp_variable = { debt_change = -40000 }
			modify_debt_effect = yes
			set_temp_variable = { temp_productivity_change = -100 }
			flat_productivity_change_effect = yes
		}
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = USA_collapse_event.3
	title = USA_collapse_event.3.t
	desc = USA_collapse_event.3.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 817
		has_full_control_of_state = 822
		has_full_control_of_state = 823
		has_full_control_of_state = 825
		has_full_control_of_state = 818
	}

	option = {
		name = USA_collapse_event.3.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.3.o1 executed"
		add_stability = -0.50
		add_war_support = -0.50
		add_ideas = us_public_disorder_six
		add_named_threat = { threat = 7 name = USA_collapse_event.3.t }
		every_owned_state = {
			if = {
				limit = { infrastructure > 0 }
				damage_building = {
					type = infrastructure
					damage = 2
				}
			}
			if = {
				limit = { industrial_complex > 0 }
				damage_building = {
					type = industrial_complex
					damage = 5
				}
			}
		}
		every_owned_state = {
			if = {
				limit = { radar_station > 0 }
				damage_building = {
					type = radar_station
					damage = 3
				}
			}
		}
		every_owned_state = {
			if = {
				limit = { internet_station > 0 }
				damage_building = {
					type = internet_station
					damage = 3
				}
			}
		}
		every_owned_state = {
			if = {
				limit = { air_base > 0 }
				damage_building = {
					type = air_base
					damage = 2
				}
			}
		}
		CAN = {
			country_event = {
				id = USA_collapse_event.100
				days = 10
			}
		}
		MEX = {
			country_event = {
				id = USA_collapse_event.101
				days = 10
			}
		}
		country_event = {
			id = USA_collapse_event.4
			days = 31
		}
		hidden_effect = {
			increase_corruption = yes
			increase_corruption = yes
			remove_ideas = us_public_disorder_five
			set_country_flag = collapsed_nation
			USA_collapse_remove_dynamic_modifiers = yes
			if = {
				limit = {
					is_faction_leader = yes
					has_idea = NATO_member
				}
				NATO_promote_new_leader = yes
			}
			decrease_healthcare_budget = yes
			decrease_social_spending = yes
			decrease_policing_budget = yes
			decrease_education_budget = yes
			decrease_centralization = yes
			set_temp_variable = { debt_change = -80000 }
			modify_debt_effect = yes
			set_temp_variable = { temp_productivity_change = -200 }
			flat_productivity_change_effect = yes
			USA = {
				remove_state_core = 784
				remove_state_core = 785
				remove_state_core = 786
				remove_state_core = 787
				remove_state_core = 788
				remove_state_core = 789
				remove_state_core = 803
				remove_state_core = 804
				remove_state_core = 805
				remove_state_core = 806
				remove_state_core = 807
				remove_state_core = 814
				remove_state_core = 1010
				remove_state_core = 817
				remove_state_core = 822
				remove_state_core = 823
				remove_state_core = 825
				remove_state_core = 818
				remove_state_core = 775
				remove_state_core = 776
				remove_state_core = 777
				remove_state_core = 778
				remove_state_core = 779
				remove_state_core = 780
				remove_state_core = 781
				remove_state_core = 782
				remove_state_core = 783
				remove_state_core = 764
				remove_state_core = 765
				remove_state_core = 766
				remove_state_core = 767
				remove_state_core = 768
				remove_state_core = 769
				remove_state_core = 1084
				remove_state_core = 624
				remove_state_core = 488
				remove_state_core = 424
				remove_state_core = 800
				remove_state_core = 808
				remove_state_core = 809
				remove_state_core = 810
				remove_state_core = 815
				remove_state_core = 811
				remove_state_core = 790
				remove_state_core = 791
				remove_state_core = 792
				remove_state_core = 793
				remove_state_core = 794
				remove_state_core = 795
				remove_state_core = 796
				remove_state_core = 797
				remove_state_core = 798
				remove_state_core = 799
				remove_state_core = 826
				remove_state_core = 820
				remove_state_core = 821
				remove_state_core = 819
				remove_state_core = 827
				remove_state_core = 824
				remove_state_core = 770
				remove_state_core = 771
				remove_state_core = 772
				remove_state_core = 773
				remove_state_core = 774
				remove_state_core = 1083
				remove_state_core = 1182
				}
		}
		ai_chance = { base = 30 }
	}
}

news_event = {
	id = USA_collapse_event.3000
	title = USA_collapse_event.3000.t
	desc = USA_collapse_event.3000.d
	picture = GFX_USA_collapse_unrest_global_event
	is_triggered_only = yes
	major = yes

	option = {
		name = USA_collapse_event.3000.o1
		trigger = { original_tag = USA }
	}

	option = {
		name = USA_collapse_event.3000.o2
		trigger = { NOT = { original_tag = USA } }
	}
}

country_event = {
	id = USA_collapse_event.4
	title = USA_collapse_event.4.t
	desc = USA_collapse_event.4.d
	picture = GFX_great_recession_protests
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 774
		has_full_control_of_state = 773
		has_full_control_of_state = 1083
		has_full_control_of_state = 772
		has_full_control_of_state = 771
		has_full_control_of_state = 770
		has_full_control_of_state = 1182
	}

	option = {
		name = USA_collapse_event.4.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.4.o1 executed"
		add_ideas = us_public_disorder_seven
		add_named_threat = { threat = 10 name = USA_collapse_event.4.t }
		every_owned_state = {
			if = {
				limit = { infrastructure > 0 }
				damage_building = {
					type = infrastructure
					damage = 3
				}
			}
			if = {
				limit = { industrial_complex > 0 }
				damage_building = {
					type = industrial_complex
					damage = 10
				}
			}
			if = {
				limit = { radar_station > 0 }
				damage_building = {
					type = radar_station
					damage = 5
				}
			}
			if = {
				limit = { internet_station > 0 }
				damage_building = {
					type = internet_station
					damage = 5
				}
			}
			if = {
				limit = { air_base > 0 }
				damage_building = {
					type = air_base
					damage = 5
				}
			}
			if = {
				limit = { nuclear_reactor > 0 }
				damage_building = {
					type = nuclear_reactor
					damage = 5
				}
			}
			if = {
				limit = { renewable_energy_infra > 0 }
				damage_building = {
					type = renewable_energy_infra
					damage = 5
				}
			}
			if = {
				limit = { fossil_powerplant > 0 }
				damage_building = {
					type = fossil_powerplant
					damage = 5
				}
			}
			if = {
				limit = { fuel_silo > 0 }
				damage_building = {
					type = fuel_silo
					damage = 5
				}
			}
		}
		country_event = {
			id = USA_collapse_event.5
			days = 31
		}
		hidden_effect = {
			increase_corruption = yes
			increase_corruption = yes
			remove_ideas = us_public_disorder_six
			decrease_healthcare_budget = yes
			decrease_social_spending = yes
			decrease_policing_budget = yes
			decrease_education_budget = yes
			decrease_centralization = yes
			set_temp_variable = { debt_change = -40000 }
			modify_debt_effect = yes
			set_temp_variable = { temp_productivity_change = -300 }
			flat_productivity_change_effect = yes
			remove_ideas = NATO_member
			remove_from_faction = USA
		}
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = USA_collapse_event.5
	title = USA_collapse_event.5.t
	desc = USA_collapse_event.5.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = {
		name = USA_collapse_event.5.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.5.o1 executed"
		add_named_threat = { threat = 15 name = USA_collapse_event.5.t }
		set_temp_variable = { rul_party_temp = 7 }
		set_temp_variable = { disable_elections = 1 }
		change_ruling_party_effect = yes
		recalculate_party = yes
		set_variable = { current_term = 1 }
		remove_ideas = p5_member
		remove_ideas = g7_member
		every_owned_state = {
			if = {
				limit = { infrastructure > 0 }
				damage_building = {
					type = infrastructure
					damage = 50
				}
			}
			if = {
				limit = { industrial_complex > 0 }
				damage_building = {
					type = industrial_complex
					damage = 50
				}
			}
			if = {
				limit = { radar_station > 0 }
				damage_building = {
					type = radar_station
					damage = 50
				}
			}
			if = {
				limit = { internet_station > 0 }
				damage_building = {
					type = internet_station
					damage = 50
				}
			}
			if = {
				limit = { anti_air_building > 0 }
				damage_building = {
					type = anti_air_building
					damage = 50
				}
			}
			if = {
				limit = { air_base > 0 }
				damage_building = {
					type = air_base
					damage = 50
				}
			}
			if = {
				limit = { nuclear_reactor > 0 }
				damage_building = {
					type = nuclear_reactor
					damage = 50
				}
			}
			if = {
				limit = { renewable_energy_infra > 0 }
				damage_building = {
					type = renewable_energy_infra
					damage = 50
				}
			}
			if = {
				limit = { fossil_powerplant > 0 }
				damage_building = {
					type = fossil_powerplant
					damage = 50
				}
			}
			if = {
				limit = { fuel_silo > 0 }
				damage_building = {
					type = fuel_silo
					damage = 50
				}
			}
			if = {
				limit = { offices > 0 }
				damage_building = {
					type = offices
					damage = 50
				}
			}
			if = {
				limit = { arms_factory > 0 }
				damage_building = {
					type = arms_factory
					damage = 50
				}
			}
			if = {
				limit = { dockyard > 0 }
				damage_building = {
					type = dockyard
					damage = 50
				}
			}
			if = {
				limit = { agriculture_district > 0 }
				damage_building = {
					type = agriculture_district
					damage = 50
				}
			}
		}
		country_event = {
			id = USA_collapse_event.6
			days = 2
		}
		news_event = {
			id = USA_collapse_event.3001
			days = 7
		}
		hidden_effect = {
			increase_corruption = yes
			increase_corruption = yes
			decrease_healthcare_budget = yes
			decrease_policing_budget = yes
			decrease_social_spending = yes
			decrease_education_budget = yes
			set_temp_variable = { debt_change = -50000 }
			modify_debt_effect = yes
			set_temp_variable = { temp_productivity_change = -400 }
			flat_productivity_change_effect = yes
		}
		ai_chance = { base = 30 }
	}
}

news_event = {
	id = USA_collapse_event.3001
	title = USA_collapse_event.3001.t
	desc = USA_collapse_event.3001.d
	picture = GFX_USA_collapse_riots_global_event
	is_triggered_only = yes
	major = yes

	option = {
		name = USA_collapse_event.3001.o1
		trigger = { original_tag = USA }
	}

	option = {
		name = USA_collapse_event.3001.o2
		trigger = {
			NOT = { original_tag = USA }
			NOT = { original_tag = NKO }
			NOT = { original_tag = SOV }
			NOT = { original_tag = CHI }
		}
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.3001.o2 executed"
		add_stability = -0.10
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.07 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.07 }
		change_relative_party_popularity = yes
	}

	option = {
		name = USA_collapse_event.3001.o3
		trigger = {
			OR = {
				original_tag = NKO
				original_tag = SOV
				original_tag = CHI
			}
		}
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.3001.o3 executed"
		add_stability = 0.10
	}
}

country_event = {
	id = USA_collapse_event.6
	title = USA_collapse_event.6.t
	desc = USA_collapse_event.6.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 800
	}

	immediate = {
		hidden_effect = {
			TEX = {
				inherit_technology = USA
				transfer_state = 800
				add_state_core = 800
			}
		}
	}

	option = {
		name = USA_collapse_event.6.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.6.o1 executed"
		every_unit_leader = {
			limit = { has_trait = texan_soldier }
			set_nationality = TEX
		}
		transfer_units_fraction = {
			target = TEX
			size = 0.07
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = southern_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = california_soldier
					has_trait = cascadian_soldier
					has_trait = puerto_rican_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.21
			days = 6
		}
		country_event = {
			id = USA_collapse_event.7
			days = 1
		}
		hidden_effect = {
			TEX = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
		ai_chance = { base = 30 }
	}

	option = {
		name = USA_collapse_event.6.o2
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.6.o2 executed"
		TEX = { change_tag_from = USA }
		every_unit_leader = {
			limit = { has_trait = texan_soldier }
			set_nationality = TEX
		}
		transfer_units_fraction = {
			target = TEX
			size = 0.07
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = southern_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = california_soldier
					has_trait = cascadian_soldier
					has_trait = puerto_rican_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.7
			days = 1
		}
		country_event = {
			id = USA_collapse_event.21
			days = 6
		}
		hidden_effect = {
			TEX = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
	}
}

country_event = {
	id = USA_collapse_event.7
	title = USA_collapse_event.7.t
	desc = USA_collapse_event.7.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 808
		has_full_control_of_state = 809
		has_full_control_of_state = 810
	}

	immediate = {
		hidden_effect = {
			CAS = {
				inherit_technology = PREV
				transfer_state = 808
				transfer_state = 809
				transfer_state = 810
			}
		}
	}

	option = {
		name = USA_collapse_event.7.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.7.o1 executed"
		every_unit_leader = {
			limit = { has_trait = cascadian_soldier }
			set_nationality = CAS
		}
		transfer_units_fraction = {
			target = CAS
			size = 0.07
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = southern_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = california_soldier
					has_trait = texan_soldier
					has_trait = puerto_rican_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.8
			days = 1
		}
		country_event = {
			id = USA_collapse_event.9
			days = 1
			random_hours = 5
		}
		hidden_effect = {
			CAS = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
				country_event = { id = USA_collapse_event.30 days = 2 }
			}
		}
		ai_chance = { base = 30 }
	}

	option = {
		name = USA_collapse_event.7.o2
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.7.o2 executed"
		CAS = { change_tag_from = USA }
		every_unit_leader = {
			limit = { has_trait = cascadian_soldier }
			set_nationality = CAS
		}
		transfer_units_fraction = {
			target = CAS
			size = 0.07
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = southern_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = california_soldier
					has_trait = texan_soldier
					has_trait = puerto_rican_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.8
			days = 1
		}
		country_event = {
			id = USA_collapse_event.9
			days = 1
			random_hours = 5
		}
		hidden_effect = {
			CAS = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
				country_event = { id = USA_collapse_event.30 days = 2 }
			}
		}
	}
}

country_event = {
	id = USA_collapse_event.8
	title = USA_collapse_event.8.t
	desc = USA_collapse_event.8.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 815
		has_full_control_of_state = 1212
	}

	immediate = {
		hidden_effect = {
			PTR = {
				inherit_technology = PREV
				transfer_state = 815
				add_state_core = 815
				transfer_state = 1212
				add_state_core = 1212
			}
		}
	}

	option = {
		name = USA_collapse_event.8.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.8.o1 executed"
		every_unit_leader = {
			limit = { has_trait = puerto_rican_soldier }
			set_nationality = PTR
		}
		transfer_units_fraction = {
			target = PTR
			size = 0.02
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = southern_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = california_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
				}
			}
		}
		hidden_effect = {
			PTR = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
		ai_chance = { base = 30 }
	}

	option = {
		name = USA_collapse_event.8.o2
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.8.o2 executed"
		PTR = { change_tag_from = USA }
		every_unit_leader = {
			limit = { has_trait = puerto_rican_soldier }
			set_nationality = PTR
		}
		transfer_units_fraction = {
			target = PTR
			size = 0.02
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = southern_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = california_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
				}
			}
		}
		hidden_effect = {
			PTR = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
	}
}

country_event = {
	id = USA_collapse_event.9
	title = USA_collapse_event.9.t
	desc = USA_collapse_event.9.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 794
		has_full_control_of_state = 796
		has_full_control_of_state = 826
		has_full_control_of_state = 818
		has_full_control_of_state = 824
		has_full_control_of_state = 424
	}

	immediate = {
		hidden_effect = {
			CSA = {
				inherit_technology = PREV
				transfer_state = 794
				transfer_state = 796
			}
			SAM = { transfer_state = 826 }
			MIC = { transfer_state = 818 }
			ENG = { transfer_state = 824 }
			CUB = { transfer_state = 424 }
		}
	}

	option = {
		name = USA_collapse_event.9.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.9.o1 executed"
		every_unit_leader = {
			limit = { has_trait = southern_soldier }
			set_nationality = CSA
		}
		transfer_units_fraction = {
			target = CSA
			size = 0.20
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = california_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.11
			days = 2
		}
		country_event = {
			id = USA_collapse_event.24
			days = 2
		}
		hidden_effect = {
			CSA = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
				country_event = { id = USA_collapse_event.23 days = 2 }
			}
		}
		ai_chance = { base = 30 }
	}

	option = {
		name = USA_collapse_event.9.o2
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.9.o2 executed"
		CSA = { change_tag_from = USA }
		every_unit_leader = {
			limit = { has_trait = southern_soldier }
			set_nationality = CSA
		}
		transfer_units_fraction = {
			target = CSA
			size = 0.20
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = california_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.11
			days = 2
		}
		country_event = {
			id = USA_collapse_event.24
			days = 2
		}
		hidden_effect = {
			CSA = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
				country_event = { id = USA_collapse_event.23 days = 2 }
			}
		}
	}
}

country_event = {
	id = USA_collapse_event.24
	title = USA_collapse_event.24.t
	desc = USA_collapse_event.24.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 792
		has_full_control_of_state = 795
		has_full_control_of_state = 797
		has_full_control_of_state = 798
	}

	immediate = {
		hidden_effect = {
			CSA = {
				transfer_state = 792
				transfer_state = 795
				transfer_state = 797
				transfer_state = 798
			}
		}
	}

	option = {
		name = USA_collapse_event.24.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.24.o1 executed"
		country_event = {
			id = USA_collapse_event.25
			days = 3
		}
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = USA_collapse_event.25
	title = USA_collapse_event.25.t
	desc = USA_collapse_event.25.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 790
		has_full_control_of_state = 791
		has_full_control_of_state = 793
		has_full_control_of_state = 799
	}

	immediate = {
		hidden_effect = {
			CSA = {
				transfer_state = 790
				transfer_state = 791
				transfer_state = 793
				transfer_state = 799
			}
		}
	}

	option = {
		name = USA_collapse_event.25.o1
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = USA_collapse_event.10
	title = USA_collapse_event.10.t
	desc = USA_collapse_event.10.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 811
		has_full_control_of_state = 624
		has_full_control_of_state = 488
	}

	immediate = {
		hidden_effect = {
			CAL = {
				inherit_technology = PREV
				transfer_state = 811
				add_state_core = 811
			}
			BHR = { transfer_state = 624 }
			KUW = { transfer_state = 488 }
		}
	}

	option = {
		name = USA_collapse_event.10.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.10.o1 executed"
		every_unit_leader = {
			limit = { has_trait = california_soldier }
			set_nationality = CAL
		}
		transfer_units_fraction = {
			target = CAL
			size = 0.07
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.12
			days = 1
		}
		hidden_effect = {
			CAL = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
		ai_chance = { base = 30 }
	}

	option = {
		name = USA_collapse_event.10.o2
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.10.o2 executed"
		CAL = { change_tag_from = USA }
		every_unit_leader = {
			limit = { has_trait = california_soldier }
			set_nationality = CAL
		}
		transfer_units_fraction = {
			target = CAL
			size = 0.07
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.12
			days = 1
		}
		hidden_effect = {
			CAL = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
	}
}

country_event = {
	id = USA_collapse_event.11
	title = USA_collapse_event.11.t
	desc = USA_collapse_event.11.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 764
		has_full_control_of_state = 765
	}

	immediate = {
		hidden_effect = {
			NEN = {
				inherit_technology = PREV
				transfer_state = 764
				add_state_core = 764
				transfer_state = 765
				add_state_core = 765
			}
		}
	}

	option = {
		name = USA_collapse_event.11.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.11.o1 executed"
		every_unit_leader = {
			limit = { has_trait = new_england_soldier }
			set_nationality = NEN
		}
		transfer_units_fraction = {
			target = NEN
			size = 0.10
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = california_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.13
			days = 1
		}
		country_event = {
			id = USA_collapse_event.28
			days = 3
		}
		hidden_effect = {
			NEN = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
		ai_chance = { base = 30 }
	}

	option = {
		name = USA_collapse_event.11.o2
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.11.o2 executed"
		NEN = { change_tag_from = USA }
		every_unit_leader = {
			limit = { has_trait = new_england_soldier }
			set_nationality = NEN
		}
		transfer_units_fraction = {
			target = NEN
			size = 0.10
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = california_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.13
			days = 1
		}
		country_event = {
			id = USA_collapse_event.28
			days = 3
		}
		hidden_effect = {
			NEN = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
	}
}

country_event = {
	id = USA_collapse_event.28
	title = USA_collapse_event.28.t
	desc = USA_collapse_event.28.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 766
		has_full_control_of_state = 767
		has_full_control_of_state = 768
		has_full_control_of_state = 1084
	}

	immediate = {
		hidden_effect = {
			NEN = {
				load_focus_tree = New_England_focus
				transfer_state = 766
				add_state_core = 766
				transfer_state = 767
				add_state_core = 767
				transfer_state = 768
				add_state_core = 768
				transfer_state = 1084
				add_state_core = 1084
			}
		}
	}

	option = {
		name = USA_collapse_event.28.o1
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = USA_collapse_event.12
	title = USA_collapse_event.12.t
	desc = USA_collapse_event.12.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 769
	}

	immediate = {
		hidden_effect = {
			NYK = {
				inherit_technology = PREV
				transfer_state = 769
				add_state_core = 769
			}
		}
	}

	option = {
		name = USA_collapse_event.12.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.12.o1 executed"
		every_unit_leader = {
			limit = { has_trait = new_yorker_soldier }
			set_nationality = NYK
		}
		transfer_units_fraction = {
			target = NYK
			size = 0.07
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = midwest_soldier
					has_trait = new_england_soldier
					has_trait = california_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.15
			days = 1
		}
		hidden_effect = {
			NYK = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
		ai_chance = { base = 30 }
	}

	option = {
		name = USA_collapse_event.12.o2
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.12.o2 executed"
		NYK = { change_tag_from = USA }
		every_unit_leader = {
			limit = { has_trait = new_yorker_soldier }
			set_nationality = NYK
		}
		transfer_units_fraction = {
			target = NYK
			size = 0.07
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = midwest_soldier
					has_trait = new_england_soldier
					has_trait = california_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.15
			days = 1
		}
		hidden_effect = {
			NYK = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
	}
}

country_event = {
	id = USA_collapse_event.13
	title = USA_collapse_event.13.t
	desc = USA_collapse_event.13.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 776
		has_full_control_of_state = 778
	}

	immediate = {
		hidden_effect = {
			GLC = {
				inherit_technology = PREV
				transfer_state = 776
				add_state_core = 776
				transfer_state = 778
				add_state_core = 778
			}
		}
	}

	option = {
		name = USA_collapse_event.13.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.13.o1 executed"
		every_unit_leader = {
			limit = { has_trait = midwest_soldier }
			set_nationality = GLC
		}
		transfer_units_fraction = {
			target = GLC
			size = 0.15
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = california_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.14
			days = 1
		}
		country_event = {
			id = USA_collapse_event.26
			days = 3
		}
		hidden_effect = {
			GLC = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
		ai_chance = { base = 30 }
	}

	option = {
		name = USA_collapse_event.13.o2
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.13.o2 executed"
		GLC = { change_tag_from = USA }
		every_unit_leader = {
			limit = { has_trait = midwest_soldier }
			set_nationality = GLC
		}
		transfer_units_fraction = {
			target = GLC
			size = 0.15
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = california_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.14
			days = 1
		}
		country_event = {
			id = USA_collapse_event.26
			days = 3
		}
		hidden_effect = {
			GLC = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
	}
}

country_event = {
	id = USA_collapse_event.26
	title = USA_collapse_event.26.t
	desc = USA_collapse_event.26.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 775
		has_full_control_of_state = 782
		has_full_control_of_state = 783
	}

	immediate = {
		hidden_effect = {
			GLC = {
				transfer_state = 775
				add_state_core = 775
				transfer_state = 782
				add_state_core = 782
				transfer_state = 783
				add_state_core = 783
			}
		}
	}

	option = {
		name = USA_collapse_event.26.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.26.o1 executed"
		country_event = {
			id = USA_collapse_event.27
			days = 3
		}
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = USA_collapse_event.27
	title = USA_collapse_event.27.t
	desc = USA_collapse_event.27.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 777
		has_full_control_of_state = 779
		has_full_control_of_state = 780
		has_full_control_of_state = 781
	}

	immediate = {
		hidden_effect = {
			GLC = {
				transfer_state = 777
				add_state_core = 777
				transfer_state = 779
				add_state_core = 779
				transfer_state = 780
				add_state_core = 780
				transfer_state = 781
				add_state_core = 781
			}
		}
	}

	option = {
		name = USA_collapse_event.27.o1
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = USA_collapse_event.14
	title = USA_collapse_event.14.t
	desc = USA_collapse_event.14.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 784
		has_full_control_of_state = 785
	}

	immediate = {
		hidden_effect = {
			LKT = {
				inherit_technology = PREV
				transfer_state = 784
				transfer_state = 785
			}
		}
	}

	option = {
		name = USA_collapse_event.14.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.14.o1 executed"
		every_unit_leader = {
			limit = { has_trait = great_plains_soldier }
			set_nationality = LKT
		}
		transfer_units_fraction = {
			target = LKT
			size = 0.20
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = california_soldier
					has_trait = rocky_mountain_soldier
					has_trait = midwest_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.10
			days = 1
		}
		country_event = {
			id = USA_collapse_event.29
			days = 4
		}
		hidden_effect = {
			LKT = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
				country_event = { id = LKT_collapse_event.1 days = 3 }
			}
		}
		ai_chance = { base = 30 }
	}

	option = {
		name = USA_collapse_event.14.o2
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.14.o2 executed"
		LKT = { change_tag_from = USA }
		every_unit_leader = {
			limit = { has_trait = great_plains_soldier }
			set_nationality = LKT
		}
		transfer_units_fraction = {
			target = LKT
			size = 0.20
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = california_soldier
					has_trait = rocky_mountain_soldier
					has_trait = midwest_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.10
			days = 1
		}
		country_event = {
			id = USA_collapse_event.29
			days = 4
		}
		hidden_effect = {
			LKT = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
				country_event = { id = LKT_collapse_event.1 days = 3 }
			}
		}
	}
}

country_event = {
	id = USA_collapse_event.29
	title = USA_collapse_event.29.t
	desc = USA_collapse_event.29.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 786
		has_full_control_of_state = 787
		has_full_control_of_state = 788
		has_full_control_of_state = 789
	}

	immediate = {
		hidden_effect = {
			LKT = {
				transfer_state = 786
				transfer_state = 787
				transfer_state = 788
				transfer_state = 789
			}
		}
	}

	option = {
		name = USA_collapse_event.29.o1
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = USA_collapse_event.15
	title = USA_collapse_event.15.t
	desc = USA_collapse_event.15.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 803
		has_full_control_of_state = 804
		has_full_control_of_state = 805
		has_full_control_of_state = 806
		has_full_control_of_state = 807
	}

	immediate = {
		hidden_effect = {
			UDT = {
				inherit_technology = PREV
				transfer_state = 803
				add_state_core = 803
				transfer_state = 804
				add_state_core = 804
				transfer_state = 805
				add_state_core = 805
				transfer_state = 806
				add_state_core = 806
				transfer_state = 807
				add_state_core = 807
			}
		}
	}

	option = {
		name = USA_collapse_event.15.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.15.o1 executed"
		every_unit_leader = {
			limit = { has_trait = rocky_mountain_soldier }
			set_nationality = UDT
		}
		transfer_units_fraction = {
			target = UDT
			size = 0.20
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = california_soldier
					has_trait = great_plains_soldier
					has_trait = midwest_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.16
			days = 1
		}
		hidden_effect = {
			UDT = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
		ai_chance = { base = 30 }
	}

	option = {
		name = USA_collapse_event.15.o2
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.15.o2 executed"
		UDT = { change_tag_from = USA }
		every_unit_leader = {
			limit = { has_trait = rocky_mountain_soldier }
			set_nationality = UDT
		}
		transfer_units_fraction = {
			target = UDT
			size = 0.20
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = california_soldier
					has_trait = great_plains_soldier
					has_trait = midwest_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.16
			days = 1
		}
		hidden_effect = {
			UDT = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
	}
}

country_event = {
	id = USA_collapse_event.16
	title = USA_collapse_event.16.t
	desc = USA_collapse_event.16.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 814
		has_full_control_of_state = 1010
	}

	immediate = {
		hidden_effect = {
			ASK = {
				inherit_technology = PREV
				transfer_state = 814
				add_state_core = 814
				transfer_state = 1010
				add_state_core = 1010
			}
		}
	}

	option = {
		name = USA_collapse_event.16.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.16.o1 executed"
		every_unit_leader = {
			limit = { has_trait = alaskan_soldier }
			set_nationality = ASK
		}
		transfer_units_fraction = {
			target = ASK
			size = 0.20
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = california_soldier
					has_trait = rocky_mountain_soldier
					has_trait = midwest_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = great_plains_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.17
			days = 1
		}
		hidden_effect = {
			ASK = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
		ai_chance = { base = 30 }
	}

	option = {
		name = USA_collapse_event.16.o2
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.16.o2 executed"
		ASK = { change_tag_from = USA }
		every_unit_leader = {
			limit = { has_trait = alaskan_soldier }
			set_nationality = ASK
		}
		transfer_units_fraction = {
			target = ASK
			size = 0.20
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = california_soldier
					has_trait = rocky_mountain_soldier
					has_trait = midwest_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = great_plains_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.17
			days = 1
		}
		hidden_effect = {
			ASK = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
	}
}

country_event = {
	id = USA_collapse_event.17
	title = USA_collapse_event.17.t
	desc = USA_collapse_event.17.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 817
		has_full_control_of_state = 822
		has_full_control_of_state = 823
		has_full_control_of_state = 825
		has_full_control_of_state = 818
	}

	immediate = {
		hidden_effect = {
			HWI = {
				inherit_technology = PREV
				transfer_state = 817
				add_state_core = 817
				transfer_state = 822
				add_state_core = 822
				transfer_state = 823
				add_state_core = 823
				transfer_state = 825
				add_state_core = 825
				transfer_state = 818
				add_state_core = 818
			}
		}
	}

	option = {
		name = USA_collapse_event.17.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.17.o1 executed"
		every_unit_leader = {
			limit = { has_trait = pacific_islander_soldier }
			set_nationality = HWI
		}
		transfer_units_fraction = {
			target = HWI
			size = 0.20
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = california_soldier
					has_trait = rocky_mountain_soldier
					has_trait = midwest_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = great_plains_soldier
					has_trait = alaskan_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.18
			days = 1
		}
		hidden_effect = {
			HWI = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
		ai_chance = { base = 30 }
	}

	option = {
		name = USA_collapse_event.17.o2
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.17.o2 executed"
		HWI = { change_tag_from = USA }
		every_unit_leader = {
			limit = { has_trait = pacific_islander_soldier }
			set_nationality = HWI
		}
		transfer_units_fraction = {
			target = HWI
			size = 0.20
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = california_soldier
					has_trait = rocky_mountain_soldier
					has_trait = midwest_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = great_plains_soldier
					has_trait = alaskan_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.18
			days = 1
		}
		hidden_effect = {
			HWI = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
	}
}

country_event = {
	id = USA_collapse_event.18
	title = USA_collapse_event.18.t
	desc = USA_collapse_event.18.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 774
		has_full_control_of_state = 773
		has_full_control_of_state = 1083
		has_full_control_of_state = 772
		has_full_control_of_state = 771
		has_full_control_of_state = 770
		has_full_control_of_state = 1182
	}

	immediate = {
		hidden_effect = {
			USB = {
				inherit_technology = PREV
				transfer_state = 774
				transfer_state = 773
				transfer_state = 1083
				transfer_state = 772
				transfer_state = 771
				transfer_state = 770
				transfer_state = 1182
			}
		}
	}

	option = {
		name = USA_collapse_event.18.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.18.o1 executed"
		every_unit_leader = {
			limit = { has_trait = loyalist_soldier }
			set_nationality = USB
		}
		transfer_units_fraction = {
			target = USB
			size = 1.00
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = pacific_islander_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = california_soldier
					has_trait = rocky_mountain_soldier
					has_trait = midwest_soldier
					has_trait = southern_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = great_plains_soldier
					has_trait = alaskan_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_collapse_event.20
			days = 1
		}
		hidden_effect = {
			USB = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
				country_event = { id = USA_collapse_event.19 days = 3 }
			}
		}
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = USA_collapse_event.19
	title = USA_collapse_event.19.t
	desc = USA_collapse_event.19.d
	picture = GFX_gen_construction
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { tag = USB }

	option = {
		name = USA_collapse_event.19.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.19.o1 executed"
		set_country_flag = the_dust_settles
		add_ideas = free_states_idea_isolationist_focused_foreign_office
		#################################
		###### Divided We Fell ##########
		#################################
		add_dynamic_modifier = { modifier = free_states_divided_we_fell }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = free_states_divided_we_fell }
		add_to_variable = { free_states_political_power_factor = -0.50 tooltip = political_power_factor_tt }
		add_to_variable = { free_states_drift_defence_factor = 1.00 tooltip = drift_defence_factor_tt }
		add_to_variable = { free_states_foreign_influence_offense = -2.00 tooltip = foreign_influence_modifier_tt }
		add_to_variable = { free_states_foriegn_influence_defense = 2.00 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { free_states_monthly_population = -0.50 tooltip = monthly_population_tt }
		add_to_variable = { free_states_recruitable_population = -0.50 tooltip = conscription_factor_tt }
		###################################
		##### Domestic Policies ###########
		###################################
		add_dynamic_modifier = { modifier = free_states_domestic_policies }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = free_states_domestic_policies }
		add_to_variable = { free_states_domestic_unemployment_tolerance = -0.50 tooltip = high_unemployment_threshold_modifier_tt }
		add_to_variable = { free_states_domestic_research_speed = -0.50 tooltip = research_speed_factor_tt }
		add_to_variable = { free_states_domestic_democratic_drift = 0.01 tooltip = democratic_drift_tt }
		add_to_variable = { free_states_domestic_neutrality_drift = 0.01 tooltip = neutrality_drift_tt }
		add_to_variable = { free_states_domestic_communist_drift = 0.01 tooltip = communism_drift_tt }
		add_to_variable = { free_states_domestic_nationalist_drift = 0.01 tooltip = nationalist_drift_tt }
		###################################################
		##### Department of Resource Management ###########
		###################################################
		add_dynamic_modifier = { modifier = free_states_resource_management_policies }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = free_states_resource_management_policies }
		add_to_variable = { FS_resource_management_mil_factory_workforce = -0.50 tooltip = mil_facs_worker_requirement_modifier_tt }
		add_to_variable = { FS_resource_management_office_workforce = 1.00 tooltip = offices_worker_requirement_modifier_tt }
		add_to_variable = { FS_resource_management_civ_factory_workforce = 1.00 tooltip = civ_facs_worker_requirement_modifier_tt }
		add_to_variable = { FS_resource_management_agriculture_workforce = 1.00 tooltip = agriculture_workers_modifier_tt }
		add_to_variable = { FS_resource_management_resource_extraction_workforce = 1.00 tooltip = resource_sector_workers_modifier_tt }
		add_to_variable = { FS_resource_management_resource_extraction = -1.00 tooltip = local_resources_factor_tt }
		add_to_variable = { FS_resource_management_productivity = -6.00 tooltip = productivity_growth_modifier_tt }
		add_to_variable = { FS_resource_management_workforce = 1.00 tooltip = total_workforce_modifier_tt }
		###################################################
		##### Department of Industrial Affairs ############
		###################################################
		add_dynamic_modifier = { modifier = free_states_industrial_policies }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = free_states_industrial_policies }
		add_to_variable = { FS_industrial_construction_speed = -0.65 tooltip = production_speed_buildings_factor_tt }
		add_to_variable = { FS_industrial_factory_output = -0.50 tooltip = industrial_capacity_factory_tt }
		add_to_variable = { FS_industrial_dockyard_output = -0.50 tooltip = industrial_capacity_dockyard_tt }
		add_to_variable = { FS_industrial_production_efficiency_cap = -0.50 tooltip = production_factory_max_efficiency_factor_tt }
		add_to_variable = { FS_industrial_energy_production = -0.35 tooltip = energy_gain_multiplier_tt }
		add_to_variable = { FS_industrial_energy_consumption = 0.15 tooltip = energy_use_multiplier_tt }
		add_to_variable = { FS_industrial_consumer_goods = 0.25 tooltip = consumer_goods_factor_tt }
		add_to_variable = { FS_industrial_population_energy_consumption = 0.25 tooltip = pop_energy_use_multiplier_tt }
		###########################
		##### Tax Code ############
		###########################
		add_dynamic_modifier = { modifier = free_states_tax_policies }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = free_states_tax_policies }
		add_to_variable = { FS_tax_military_tax_collection_efficiency = 0.03 tooltip = military_industry_tax_modifier_tt }
		add_to_variable = { FS_tax_dockyard_tax_collection_efficiency = 0.05 tooltip = dockyard_income_tax_modifier_tt }
		add_to_variable = { FS_tax_corporate_tax_collection_efficiency = -0.50 tooltip = corporate_tax_income_multiplier_modifier_tt }
		add_to_variable = { FS_tax_interest_rate = 3.00 tooltip = interest_rate_multiplier_modifier_tt }
		##################################
		##### Federal Budgets ############
		##################################
		add_dynamic_modifier = { modifier = free_states_federal_budgets }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = free_states_federal_budgets }
		add_to_variable = { FS_budget_bureaucracy_cost = 0.25 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { FS_budget_personnel_cost = 0.25 tooltip = personnel_cost_multiplier_modifier_tt }
		##################################
		##### Army Branch ################
		##################################
		add_dynamic_modifier = { modifier = free_states_army_service_branch }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = free_states_army_service_branch }
		add_to_variable = { FS_army_supply_consumption_factor = 0.25 tooltip = supply_consumption_factor_tt }
		add_to_variable = { FS_army_army_training_time = 0.25 tooltip = training_time_factor_tt }
		##################################
		##### Navy Branch ################
		##################################
		add_dynamic_modifier = { modifier = free_states_navy_service_branch }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = free_states_navy_service_branch }
		add_to_variable = { FS_navy_repair_speed_factor = -0.50 tooltip = repair_speed_factor_tt }
		add_to_variable = { FS_navy_naval_morale_factor = -0.10 tooltip = naval_morale_factor_tt }
		##################################
		##### Air Force Branch ###########
		##################################
		add_dynamic_modifier = { modifier = free_states_air_force_service_branch }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = free_states_air_force_service_branch }
		add_to_variable = { FS_airforce_air_mission_efficiency = -0.50 tooltip = air_mission_efficiency_tt }
		add_to_variable = { FS_airforce_air_attack = -0.10 tooltip = air_attack_factor_tt }
		add_to_variable = { FS_airforce_air_defence = -0.10 tooltip = air_defence_factor_tt }
		add_to_variable = { FS_airforce_air_agility = -0.10 tooltip = air_agility_factor_tt }
		add_to_variable = { FS_airforce_ground_attack_factor = -0.10 tooltip = ground_attack_factor_tt }
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = USA_collapse_event.20
	title = USA_collapse_event.20.t
	desc = USA_collapse_event.20.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = {
		name = USA_collapse_event.20.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.20.o1 executed"
		USB = {
			change_tag_from = USA
			load_focus_tree = free_states_of_america_focus
		}
		country_event = {
			id = USA_collapse_event.22
			days = 1
		}
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = USA_collapse_event.21
	title = USA_collapse_event.21.t
	desc = USA_collapse_event.21.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = {
		name = USA_collapse_event.21.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.21.o1 executed"
		custom_effect_tooltip = USA_collapse_description
		for_each_scope_loop = {
			array = USA_collapse_releases
			USA = { release = PREV }
		}
		USA = { every_subject_country = { USA = { end_puppet = PREV } } }
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = USA_collapse_event.22
	title = USA_collapse_event.22.t
	desc = USA_collapse_event.22.d
	picture = GFX_gen_construction
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = {
		name = USA_collapse_event.22.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.22.o1 executed"
		JAP = { transfer_state = 827 }
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = USA_collapse_event.23
	title = USA_collapse_event.23.t
	desc = USA_collapse_event.23.d
	picture = GFX_gen_construction
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { tag = CSA }

	option = {
		name = USA_collapse_event.23.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.23.o1 executed"
		set_country_flag = the_dust_settles
		add_ideas = SRA_idea_isolationist_focused_foreign_office
		add_ideas = SRA_idea_historical_tensions
		### Divided We Fell ###
		add_dynamic_modifier = { modifier = southern_republic_divided_we_fell }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = southern_republic_divided_we_fell }
		add_to_variable = { southern_republic_political_power_factor = -0.50 tooltip = political_power_factor_tt }
		add_to_variable = { southern_republic_drift_defence_factor = -1.00 tooltip = drift_defence_factor_tt }
		add_to_variable = { southern_republic_monthly_population = -0.50 tooltip = monthly_population_tt }
		add_to_variable = { southern_republic_recruitable_population = -1.00 tooltip = conscription_factor_tt }
		add_to_variable = { southern_republic_foreign_influence_offense = -3.00 tooltip = foreign_influence_modifier_tt }
		add_to_variable = { southern_republic_foriegn_influence_defense = 3.00 tooltip = foreign_influence_defense_modifier_tt }
		### Federal Expenses ###
		add_dynamic_modifier = { modifier = southern_republic_federal_budgets }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = southern_republic_federal_budgets }
		add_to_variable = { SRA_budget_bureaucracy_cost = 0.50 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { SRA_budget_personnel_cost = 0.50 tooltip = personnel_cost_multiplier_modifier_tt }
		add_to_variable = { SRA_budget_police_cost = 0.50 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { SRA_budget_education_cost = 0.50 tooltip = education_cost_multiplier_modifier_tt }
		add_to_variable = { SRA_budget_healthcare_cost = 0.50 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { SRA_budget_welfare_cost = 0.50 tooltip = social_cost_multiplier_modifier_tt }
		### Southern Domestic Policies ###
		add_dynamic_modifier = { modifier = southern_republic_domestic_policies }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = southern_republic_domestic_policies }
		add_to_variable = { SRA_domestic_political_power_factor = -0.30 tooltip = political_power_factor_tt }
		add_to_variable = { SRA_domestic_drift_defence_factor = -0.50 tooltip = drift_defence_factor_tt }
		add_to_variable = { SRA_domestic_monthly_pop = -0.25 tooltip = monthly_population_tt }
		add_to_variable = { SRA_domestic_research_speed = -0.50 tooltip = research_speed_factor_tt }
		add_to_variable = { SRA_domestic_unemployment_tolerance = -0.25 tooltip = high_unemployment_threshold_modifier_tt }
		add_to_variable = { SRA_domestic_offensive_foreign_influence = -0.50 tooltip = foreign_influence_modifier_tt }
		add_to_variable = { SRA_domestic_foreign_influence_defense = -0.50 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { SRA_domestic_democratic_drift = 0.02 tooltip = democratic_drift_tt }
		add_to_variable = { SRA_domestic_communist_drift = -0.02 tooltip = communism_drift_tt }
		add_to_variable = { SRA_domestic_neutrality_drift = 0.05 tooltip = neutrality_drift_tt }
		add_to_variable = { SRA_domestic_nationalist_drift = 0.03 tooltip = nationalist_drift_tt }
		### Dixie Donations Department ###
		add_dynamic_modifier = { modifier = southern_republic_tax_policies }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = southern_republic_tax_policies }
		add_to_variable = { SRA_tax_interest_rate = 1.52 tooltip = interest_rate_multiplier_modifier_tt }
		add_to_variable = { SRA_tax_corporate_tax_collection_efficiency = -0.47 tooltip = corporate_tax_income_multiplier_modifier_tt }
		add_to_variable = { SRA_tax_office_park_tax_collection_efficiency = -0.05 tooltip = office_park_income_tax_modifier_tt }
		add_to_variable = { SRA_tax_civilian_tax_collection_efficiency = -0.07 tooltip = civilian_industry_tax_modifier_tt }
		add_to_variable = { SRA_tax_military_tax_collection_efficiency = 0.07 tooltip = military_industry_tax_modifier_tt }
		add_to_variable = { SRA_tax_dockyard_tax_collection_efficiency = 0.15 tooltip = dockyard_income_tax_modifier_tt }
		add_to_variable = { SRA_tax_population_tax_collection_efficiency = -0.22 tooltip = population_tax_income_multiplier_modifier_tt }
		### Dixie Industrialization Department ###
		add_dynamic_modifier = { modifier = southern_republic_industrial_policies }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = southern_republic_industrial_policies }
		add_to_variable = { SRA_industrial_consumer_goods = 0.50 tooltip = consumer_goods_factor_tt }
		add_to_variable = { SRA_industrial_construction_speed = -1.00 tooltip = production_speed_buildings_factor_tt }
		add_to_variable = { SRA_industrial_factory_output = -0.50 tooltip = industrial_capacity_factory_tt }
		add_to_variable = { SRA_industrial_dockyard_output = -0.75 tooltip = industrial_capacity_dockyard_tt }
		add_to_variable = { SRA_industrial_production_efficiency_cap = -0.75 tooltip = production_factory_max_efficiency_factor_tt }
		add_to_variable = { SRA_industrial_energy_production = -0.50 tooltip = energy_gain_multiplier_tt }
		add_to_variable = { SRA_industrial_energy_consumption = 0.50 tooltip = energy_use_multiplier_tt }
		### Dixie Mangement Administration ###
		add_dynamic_modifier = { modifier = southern_republic_resource_management_policies }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = southern_republic_resource_management_policies }
		add_to_variable = { SRA_resource_management_office_workforce = -1.00 tooltip = offices_worker_requirement_modifier_tt }
		add_to_variable = { SRA_resource_management_civ_factory_workforce = -1.00 tooltip = civ_facs_worker_requirement_modifier_tt }
		add_to_variable = { SRA_resource_management_mil_factory_workforce = -1.00 tooltip = mil_facs_worker_requirement_modifier_tt }
		add_to_variable = { SRA_resource_management_agriculture_workforce = 1.00 tooltip = agriculture_workers_modifier_tt }
		add_to_variable = { SRA_resource_management_resource_extraction_workforce = 1.00 tooltip = resource_sector_workers_modifier_tt }
		add_to_variable = { SRA_resource_management_resource_extraction = -1.00 tooltip = local_resources_factor_tt }
		add_to_variable = { SRA_resource_management_productivity = -6.00 tooltip = productivity_growth_modifier_tt }
		### The Southern Army ###
		add_dynamic_modifier = { modifier = southern_republic_army_service_branch }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = southern_republic_army_service_branch }
		add_to_variable = { SRA_army_army_attack = -0.10 tooltip = army_attack_factor_tt }
		add_to_variable = { SRA_army_army_defence = 0.06 tooltip = army_defence_factor_tt }
		add_to_variable = { SRA_army_army_org = -0.25 tooltip = army_org_factor_tt }
		add_to_variable = { SRA_army_breakthrough_factor = -0.15 tooltip = breakthrough_factor_tt }
		add_to_variable = { SRA_army_max_planning_factor = 0.03 tooltip = max_planning_factor_tt }
		add_to_variable = { SRA_army_supply_consumption_factor = 1.00 tooltip = supply_consumption_factor_tt }
		add_to_variable = { SRA_army_army_training_time = 1.00 tooltip = training_time_factor_tt }
		add_to_variable = { SRA_army_conscription = 0.0001 tooltip = conscription_tt }
		### Southern Air Force ###
		add_dynamic_modifier = { modifier = southern_republic_air_force_service_branch }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = southern_republic_air_force_service_branch }
		add_to_variable = { SRA_airforce_air_mission_efficiency = -0.50 tooltip = air_mission_efficiency_tt }
		add_to_variable = { SRA_airforce_air_attack = 0.10 tooltip = air_attack_factor_tt }
		add_to_variable = { SRA_airforce_air_defence = 0.05 tooltip = air_defence_factor_tt }
		add_to_variable = { SRA_airforce_air_agility = 0.03 tooltip = air_agility_factor_tt }
		add_to_variable = { SRA_airforce_ground_attack_factor = -0.25 tooltip = ground_attack_factor_tt }
		### Southern Naval Service ###
		add_dynamic_modifier = { modifier = southern_republic_navy_service_branch }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = southern_republic_navy_service_branch }
		add_to_variable = { SRA_navy_repair_speed_factor = -0.50 tooltip = repair_speed_factor_tt }
		add_to_variable = { SRA_navy_naval_speed = -0.25 tooltip = naval_speed_factor_tt }
		add_to_variable = { SRA_navy_naval_morale_factor = -0.35 tooltip = naval_morale_factor_tt }
		add_to_variable = { SRA_navy_anti_air_attack_factor = 0.13 tooltip = navy_anti_air_attack_factor_tt }
		add_to_variable = { SRA_navy_naval_damage = 0.04 tooltip = naval_damage_factor_tt }
		add_to_variable = { SRA_navy_naval_defense = 0.07 tooltip = naval_defense_factor_tt }
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = USA_collapse_event.30
	title = USA_collapse_event.30.t
	desc = USA_collapse_event.30.d
	picture = GFX_gen_construction
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { tag = CAS }

	option = {
		name = USA_collapse_event.30.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.30.o1 executed"
		set_country_flag = the_dust_settles
		add_ideas = CAS_ideas_domestic_centric_policy
		add_ideas = CAS_ideas_rocky_mountain_resistance
		### Divided We Fell ###
		add_dynamic_modifier = { modifier = cascadia_divided_we_fell }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = cascadia_divided_we_fell }
		add_to_variable = { CAS_divided_political_power_factor = -3.00 tooltip = political_power_factor_tt }
		add_to_variable = { CAS_divided_drift_defence_factor = -3.00 tooltip = drift_defence_factor_tt }
		add_to_variable = { CAS_divided_monthly_population = -3.00 tooltip = monthly_population_tt }
		add_to_variable = { CAS_divided_recruitable_population = -3.00 tooltip = conscription_factor_tt }
		add_to_variable = { CAS_divided_foreign_influence_offense = -3.00 tooltip = foreign_influence_modifier_tt }
		add_to_variable = { CAS_divided_foriegn_influence_defense = 3.00 tooltip = foreign_influence_defense_modifier_tt }
		### Cascadian Office of Budgeting ###
		add_dynamic_modifier = { modifier = cascadia_federal_budgets }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = cascadia_federal_budgets }
		add_to_variable = { CAS_budget_bureaucracy_cost = -1.00 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { CAS_budget_personnel_cost = -1.00 tooltip = personnel_cost_multiplier_modifier_tt }
		add_to_variable = { CAS_budget_police_cost = -1.00 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { CAS_budget_education_cost = -1.00 tooltip = education_cost_multiplier_modifier_tt }
		add_to_variable = { CAS_budget_healthcare_cost = -1.00 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { CAS_budget_welfare_cost = -1.00 tooltip = social_cost_multiplier_modifier_tt }
		### Cascadian Department of Domestic Affairs ###
		add_dynamic_modifier = { modifier = cascadia_domestic_policies }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = cascadia_domestic_policies }
		add_to_variable = { CAS_domestic_political_power_factor = -0.75 tooltip = political_power_factor_tt }
		add_to_variable = { CAS_domestic_drift_defence_factor = -1.00 tooltip = drift_defence_factor_tt }
		add_to_variable = { CAS_domestic_monthly_pop = -0.50 tooltip = monthly_population_tt }
		add_to_variable = { CAS_domestic_research_speed = -0.50 tooltip = research_speed_factor_tt }
		add_to_variable = { CAS_domestic_unemployment_tolerance = -0.25 tooltip = high_unemployment_threshold_modifier_tt }
		add_to_variable = { CAS_domestic_offensive_foreign_influence = -0.50 tooltip = foreign_influence_modifier_tt }
		add_to_variable = { CAS_domestic_foreign_influence_defense = -0.10 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { CAS_domestic_democratic_drift = 0.01 tooltip = democratic_drift_tt }
		add_to_variable = { CAS_domestic_communist_drift = 0.02 tooltip = communism_drift_tt }
		add_to_variable = { CAS_domestic_neutrality_drift = 0.02 tooltip = neutrality_drift_tt }
		add_to_variable = { CAS_domestic_nationalist_drift = 0.01 tooltip = nationalist_drift_tt }
		### Cascadian Treasury Department ###
		add_dynamic_modifier = { modifier = cascadia_tax_policies }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = cascadia_tax_policies }
		add_to_variable = { CAS_tax_interest_rate = 1.23 tooltip = interest_rate_multiplier_modifier_tt }
		add_to_variable = { CAS_tax_corporate_tax_collection_efficiency = -0.50 tooltip = corporate_tax_income_multiplier_modifier_tt }
		add_to_variable = { CAS_tax_office_park_tax_collection_efficiency = -0.05 tooltip = office_park_income_tax_modifier_tt }
		add_to_variable = { CAS_tax_civilian_tax_collection_efficiency = -0.05 tooltip = civilian_industry_tax_modifier_tt }
		add_to_variable = { CAS_tax_military_tax_collection_efficiency = 0.02 tooltip = military_industry_tax_modifier_tt }
		add_to_variable = { CAS_tax_dockyard_tax_collection_efficiency = 0.05 tooltip = dockyard_income_tax_modifier_tt }
		add_to_variable = { CAS_tax_population_tax_collection_efficiency = -0.50 tooltip = population_tax_income_multiplier_modifier_tt }
		### Cascadian Department of Industrial Development ###
		add_dynamic_modifier = { modifier = cascadia_industrial_policies }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = cascadia_industrial_policies }
		add_to_variable = { CAS_industrial_consumer_goods = 0.50 tooltip = consumer_goods_factor_tt }
		add_to_variable = { CAS_industrial_construction_speed = -1.00 tooltip = production_speed_buildings_factor_tt }
		add_to_variable = { CAS_industrial_factory_output = -0.50 tooltip = industrial_capacity_factory_tt }
		add_to_variable = { CAS_industrial_dockyard_output = -0.75 tooltip = industrial_capacity_dockyard_tt }
		add_to_variable = { CAS_industrial_production_efficiency_cap = -0.75 tooltip = production_factory_max_efficiency_factor_tt }
		add_to_variable = { CAS_industrial_energy_production = -0.50 tooltip = energy_gain_multiplier_tt }
		add_to_variable = { CAS_industrial_energy_consumption = 0.50 tooltip = energy_use_multiplier_tt }
		### Cascadian Department of Labor ###
		add_dynamic_modifier = { modifier = cascadia_resource_management_policies }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = cascadia_resource_management_policies }
		add_to_variable = { CAS_resource_management_office_workforce = -1.00 tooltip = offices_worker_requirement_modifier_tt }
		add_to_variable = { CAS_resource_management_civ_factory_workforce = -1.00 tooltip = civ_facs_worker_requirement_modifier_tt }
		add_to_variable = { CAS_resource_management_mil_factory_workforce = -1.00 tooltip = mil_facs_worker_requirement_modifier_tt }
		add_to_variable = { CAS_resource_management_agriculture_district_workforce = 1.00 tooltip = agriculture_district_worker_requirement_modifier_tt }
		add_to_variable = { CAS_resource_management_resource_extraction_workforce = 1.00 tooltip = resource_sector_workers_modifier_tt }
		add_to_variable = { CAS_resource_management_resource_extraction = -1.00 tooltip = local_resources_factor_tt }
		add_to_variable = { CAS_resource_management_productivity = -10.00 tooltip = productivity_growth_modifier_tt }
		### The Cascadian Mountain Army ###
		add_dynamic_modifier = { modifier = cascadia_army_service_branch }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = cascadia_army_service_branch }
		add_to_variable = { CAS_army_army_attack = -0.10 tooltip = army_attack_factor_tt }
		add_to_variable = { CAS_army_army_defence = 0.10 tooltip = army_defence_factor_tt }
		add_to_variable = { CAS_army_army_org = -0.25 tooltip = army_org_factor_tt }
		add_to_variable = { CAS_army_breakthrough_factor = -0.25 tooltip = breakthrough_factor_tt }
		add_to_variable = { CAS_army_max_planning_factor = -0.25 tooltip = max_planning_factor_tt }
		add_to_variable = { CAS_army_supply_consumption_factor = 1.00 tooltip = supply_consumption_factor_tt }
		add_to_variable = { CAS_army_army_training_time = 1.00 tooltip = training_time_factor_tt }
		add_to_variable = { CAS_army_conscription = 0.0005 tooltip = conscription_tt }
		### Cascadian Air Force ###
		add_dynamic_modifier = { modifier = cascadia_air_force_service_branch }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = cascadia_air_force_service_branch }
		add_to_variable = { CAS_airforce_air_mission_efficiency = -0.50 tooltip = air_mission_efficiency_tt }
		add_to_variable = { CAS_airforce_air_attack = -0.10 tooltip = air_attack_factor_tt }
		add_to_variable = { CAS_airforce_air_defence = -0.05 tooltip = air_defence_factor_tt }
		add_to_variable = { CAS_airforce_air_agility = 0.07 tooltip = air_agility_factor_tt }
		add_to_variable = { CAS_airforce_ground_attack_factor = 0.05 tooltip = ground_attack_factor_tt }
		### Cascadian Naval Service ###
		add_dynamic_modifier = { modifier = cascadia_navy_service_branch }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = cascadia_navy_service_branch }
		add_to_variable = { CAS_navy_repair_speed_factor = -0.50 tooltip = repair_speed_factor_tt }
		add_to_variable = { CAS_navy_naval_speed = -0.50 tooltip = naval_speed_factor_tt }
		add_to_variable = { CAS_navy_naval_morale_factor = -0.50 tooltip = naval_morale_factor_tt }
		add_to_variable = { CAS_navy_anti_air_attack_factor = -0.15 tooltip = navy_anti_air_attack_factor_tt }
		add_to_variable = { CAS_navy_naval_damage = -0.10 tooltip = naval_damage_factor_tt }
		add_to_variable = { CAS_navy_naval_defense = -0.10 tooltip = naval_defense_factor_tt }
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = USA_collapse_event.100
	title = USA_collapse_event.100.t
	desc = USA_collapse_event.100.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { USA = { has_country_flag = collapsed_nation } }

	option = {
		name = USA_collapse_event.100.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.100.o1 executed"
		add_timed_idea = {
			idea = CAN_american_refugee_crisis
			days = 365
		}
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = USA_collapse_event.101
	title = USA_collapse_event.101.t
	desc = USA_collapse_event.101.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { USA = { has_country_flag = collapsed_nation } }

	option = {
		name = USA_collapse_event.101.o1
		log = "[GetDateText]: [This.GetName]: USA_collapse_event.101.o1 executed"
		add_timed_idea = {
			idea = MEX_american_refugee_crisis
			days = 365
		}
		ai_chance = { base = 1 }
	}
}

###### US Violent Collapse Pathway ######
country_event = {
	id = USA_crisis_event.1000
	title = USA_crisis_event.1000.t
	desc = USA_crisis_event.1000.d
	picture = GFX_politics_speak
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_full_control_of_state = 800
	}

	option = {
		name = USA_crisis_event.1000.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1000.o1 executed"
		add_stability = -0.05
		add_war_support = -0.05
		country_event = {
			id = USA_crisis_event.1001
			days = 61
		}
		add_ideas = USA_migrant_crisis_one
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.10 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = -0.10 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_crisis_event.1001
	title = USA_crisis_event.1001.t
	desc = USA_crisis_event.1001.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_full_control_of_state = 815
		has_full_control_of_state = 1212
	}

	option = {
		name = USA_crisis_event.1001.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1001.o1 executed"
		add_stability = -0.04
		add_war_support = -0.02
		swap_ideas = {
			remove_idea = USA_migrant_crisis_one
			add_idea = USA_migrant_crisis_two
		}
		add_popularity = { ideology = democratic popularity = -0.05 }
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.03 }
		change_relative_party_popularity = yes
		ai_chance = { base = 7 }
	}

	option = {
		name = USA_crisis_event.1001.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1001.o2 executed"
		add_stability = -0.02
		add_war_support = -0.02
		swap_ideas = {
			remove_idea = USA_migrant_crisis_one
			add_idea = USA_migrant_crisis_two_a
		}
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = USA_crisis_event.1002
	title = USA_crisis_event.1002.t
	desc = USA_crisis_event.1002.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_full_control_of_state = 803
		has_full_control_of_state = 806
	}

	option = {
		name = USA_crisis_event.1002.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1002.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.10 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = 0.25 tooltip = drift_defence_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.15 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = -0.07 tooltip = industrial_capacity_factory_tt }
		add_to_variable = { econ_production_efficiency_cap = 0.05 tooltip = production_factory_max_efficiency_factor_tt }
		add_to_variable = { econ_civ_factory_workforce = -0.03 tooltip = civ_facs_worker_requirement_modifier_tt }
		add_to_variable = { econ_office_workforce = -0.03 tooltip = offices_worker_requirement_modifier_tt }
		ai_chance = { base = 7 }
	}

	option = {
		name = USA_crisis_event.1002.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1002.o2 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.10 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.15 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_neutrality_drift = 0.01 tooltip = neutrality_drift_tt }
		add_to_variable = { domestic_communist_drift = 0.01 tooltip = communism_drift_tt }
		add_to_variable = { domestic_nationalist_drift = 0.01 tooltip = nationalist_drift_tt }
		add_to_variable = { domestic_democratic_drift = -0.02 tooltip = democratic_drift_tt }
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = USA_crisis_event.1003
	title = USA_crisis_event.1003.t
	desc = USA_crisis_event.1003.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_crisis_event.1003.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1003.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = 0.10 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_neutrality_drift = 0.01 tooltip = neutrality_drift_tt }
		add_to_variable = { domestic_communist_drift = 0.01 tooltip = communism_drift_tt }
		add_to_variable = { domestic_nationalist_drift = -0.01 tooltip = nationalist_drift_tt }
		add_to_variable = { domestic_democratic_drift = -0.01 tooltip = democratic_drift_tt }
		newline = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.07 }
		set_temp_variable = { temp_outlook_increase = 0.03 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = USA_crisis_event.1003.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1003.o2 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.15 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_neutrality_drift = -0.01 tooltip = neutrality_drift_tt }
		add_to_variable = { domestic_communist_drift = -0.01 tooltip = communism_drift_tt }
		add_to_variable = { domestic_nationalist_drift = 0.01 tooltip = nationalist_drift_tt }
		add_to_variable = { domestic_democratic_drift = 0.01 tooltip = democratic_drift_tt }
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.05 }
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.04 }
		change_relative_party_popularity = yes
		ai_chance = { base = 7 }
	}
}

country_event = {
	id = USA_crisis_event.1004
	title = USA_crisis_event.1004.t
	desc = USA_crisis_event.1004.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_crisis_event.1004.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1004.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.03 tooltip = political_power_factor_tt }
		newline = yes
		swap_ideas = {
			remove_idea = USA_migrant_crisis_two
			add_idea = USA_migrant_crisis_three
		}
		hidden_effect = {
			swap_ideas = {
				remove_idea = USA_migrant_crisis_two_a
				add_idea = USA_migrant_crisis_three
			}
		}
		ai_chance = { base = 7 }
	}

	option = {
		name = USA_crisis_event.1004.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1004.o2 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.15 tooltip = drift_defence_factor_tt }
		newline = yes
		swap_ideas = {
			remove_idea = USA_migrant_crisis_two
			add_idea = USA_migrant_crisis_three_a
		}
		hidden_effect = {
			swap_ideas = {
				remove_idea = USA_migrant_crisis_two_a
				add_idea = USA_migrant_crisis_three_a
			}
		}
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = USA_crisis_event.1005
	title = USA_crisis_event.1005.t
	desc = USA_crisis_event.1005.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_crisis_event.1005.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1005.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.05 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_monthly_pop = -0.15 tooltip = monthly_population_tt }
	}

	option = {
		name = USA_crisis_event.1005.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1005.o2 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.05 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_monthly_pop = -0.15 tooltip = monthly_population_tt }
	}
}

country_event = {
	id = USA_crisis_event.1006
	title = USA_crisis_event.1006.t
	desc = USA_crisis_event.1006.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = USA_crisis_event.1006.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1006.o1 executed"
		swap_ideas = {
			remove_idea = USA_migrant_crisis_three
			add_idea = USA_migrant_crisis_four
		}
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.05 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_monthly_pop = 0.10 tooltip = monthly_population_tt }
		hidden_effect = {
			swap_ideas = {
				remove_idea = USA_migrant_crisis_three_a
				add_idea = USA_migrant_crisis_four
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1007 ## January 22nd
	title = USA_crisis_event.1007.t
	desc = USA_crisis_event.1007.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { # Violence
		name = USA_crisis_event.1007.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1007.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.03 tooltip = political_power_factor_tt }
		newline = yes
		country_event = {
			id = USA_crisis_event.1107
			days = 61
		}
		ai_chance = {
			base = 5
		}
	}

	option = { # Status Quo
		name = USA_crisis_event.1007.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1007.o2 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.03 tooltip = political_power_factor_tt }
		newline = yes
		country_event = {
			id = USA_crisis_event.1207
			days = 91
		}
		ai_chance = {
			base = 20
		}
	}

	option = { # Reform & Rebuild
		name = USA_crisis_event.1007.o3
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1007.o3 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.01 tooltip = political_power_factor_tt }
		newline = yes
		country_event = {
			id = USA_crisis_event.1307
			days = 31
		}
		ai_chance = {
			base = 10
			modifier = {
				has_global_flag = USA_REFORMED_REPUBLIC_PATH
				factor = 1000
			}
		}
	}
}

 ################################################
 #### Election Tailored Events #####
 ################################################
country_event = {
	id = USA_treason_event.1 #2000 election
	title = USA_treason_event.1.t
	desc = USA_treason_event.1.d
	picture = GFX_election_day
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_elections = yes
	}

	option = { # Commit Election Fraud
		name = USA_treason_event.1.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.1.o1 executed"
		if = {
			limit = {
				NOT = { has_completed_focus = USA_focus_congressional_chaos }
			}
			newline = yes
			add_popularity = { ideology = democratic popularity = 0.35 }
			set_temp_variable = { party_index = 0 }
			set_temp_variable = { party_popularity_increase = 0.50 }
			change_relative_party_popularity = yes
		}
		else = {
			add_political_power = 100
			add_stability = 0.05
			add_war_support = 0.05
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = -1
			}
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = -1
			}
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = -1
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = { # Commit Election Fraud Republicans
		name = USA_treason_event.1.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.1.o2 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = 100
			}
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = -1
			}
		}
	}

	option = { # Commit Election Fraud Democrats
		name = USA_treason_event.1.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.1.o3 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = -1
			}
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = -1
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = USA_treason_event.2 #2004 election
	title = USA_treason_event.2.t
	desc = USA_treason_event.2.d
	picture = GFX_election_day
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_elections = yes
	}

	option = { # Commit Election Fraud
		name = USA_treason_event.2.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.2.o1 executed"
		if = {
			limit = {
				NOT = { has_completed_focus = USA_focus_congressional_chaos }
			}
			newline = yes
			add_popularity = { ideology = democratic popularity = 0.35 }
			set_temp_variable = { party_index = 0 }
			set_temp_variable = { party_popularity_increase = 0.50 }
			change_relative_party_popularity = yes
		}
		else = {
			add_political_power = 100
			add_stability = 0.05
			add_war_support = 0.05
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = -1
			}
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = -1
			}
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = -1
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = { # Commit Election Fraud Republicans
		name = USA_treason_event.2.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.2.o2 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = 100
			}
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = -1
			}
		}
	}

	option = { # Commit Election Fraud Democrats
		name = USA_treason_event.2.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.2.o3 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = -1
			}
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = -1
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = USA_treason_event.3 #2008 election
	title = USA_treason_event.3.t
	desc = USA_treason_event.3.d
	picture = GFX_election_day
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_elections = yes
	}

	option = { # Commit Election Fraud
		name = USA_treason_event.3.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.3.o1 executed"
		if = {
			limit = {
				NOT = { has_completed_focus = USA_focus_congressional_chaos }
			}
			newline = yes
			add_popularity = { ideology = democratic popularity = 0.35 }
			set_temp_variable = { party_index = 0 }
			set_temp_variable = { party_popularity_increase = 0.50 }
			change_relative_party_popularity = yes
		}
		else = {
			add_political_power = 100
			add_stability = 0.05
			add_war_support = 0.05
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = -1
			}
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = -1
			}
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = -1
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = { # Commit Election Fraud Republicans
		name = USA_treason_event.3.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.3.o2 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = -1
			}
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = -1
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = { # Commit Election Fraud Democrats
		name = USA_treason_event.3.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.3.o3 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = 100
			}
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = -1
			}
		}
	}
}

country_event = {
	id = USA_treason_event.4 #2012 election
	title = USA_treason_event.4.t
	desc = USA_treason_event.4.d
	picture = GFX_election_day
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_elections = yes
	}

	option = { # Commit Election Fraud
		name = USA_treason_event.4.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.4.o1 executed"
		if = {
			limit = {
				NOT = { has_completed_focus = USA_focus_congressional_chaos }
			}
			newline = yes
			add_popularity = { ideology = democratic popularity = 0.35 }
			set_temp_variable = { party_index = 0 }
			set_temp_variable = { party_popularity_increase = 0.50 }
			change_relative_party_popularity = yes
		}
		else = {
			add_political_power = 100
			add_stability = 0.05
			add_war_support = 0.05
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = -1
			}
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = -1
			}
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = -1
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = { # Commit Election Fraud Republicans
		name = USA_treason_event.4.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.4.o2 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = -1
			}
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = -1
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = { # Commit Election Fraud Democrats
		name = USA_treason_event.4.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.4.o3 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = 100
			}
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = -1
			}
		}
	}
}

country_event = {
	id = USA_treason_event.5 #2016 election
	title = USA_treason_event.5.t
	desc = USA_treason_event.5.d
	picture = GFX_election_day
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_elections = yes
	}

	option = { # Commit Election Fraud
		name = USA_treason_event.5.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.5.o1 executed"
		if = {
			limit = {
				NOT = { has_completed_focus = USA_focus_congressional_chaos }
			}
			newline = yes
			add_popularity = { ideology = democratic popularity = 0.35 }
			set_temp_variable = { party_index = 0 }
			set_temp_variable = { party_popularity_increase = 0.50 }
			change_relative_party_popularity = yes
		}
		else = {
			add_political_power = 100
			add_stability = 0.05
			add_war_support = 0.05
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = -1
			}
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = -1
			}
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = -1
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = { # Commit Election Fraud Republicans
		name = USA_treason_event.5.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.5.o2 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = 100
			}
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = -1
			}
		}
	}

	option = { # Commit Election Fraud Democrats
		name = USA_treason_event.5.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.5.o3 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = -1
			}
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = -1
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = USA_treason_event.6 #2020 election
	title = USA_treason_event.6.t
	desc = USA_treason_event.6.d
	picture = GFX_election_day
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_elections = yes
	}

	option = { # Commit Election Fraud
		name = USA_treason_event.6.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.6.o1 executed"
		if = {
			limit = {
				NOT = { has_completed_focus = USA_focus_congressional_chaos }
			}
			newline = yes
			add_popularity = { ideology = democratic popularity = 0.35 }
			set_temp_variable = { party_index = 0 }
			set_temp_variable = { party_popularity_increase = 0.50 }
			change_relative_party_popularity = yes
		}
		else = {
			add_political_power = 100
			add_stability = 0.05
			add_war_support = 0.05
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = -1
			}
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = -1
			}
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = -1
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = { # Commit Election Fraud Republicans
		name = USA_treason_event.6.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.6.o2 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = -1
			}
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = -1
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = { # Commit Election Fraud Democrats
		name = USA_treason_event.6.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.6.o3 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = 100
			}
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = -1
			}
		}
	}
}

country_event = {
	id = USA_treason_event.7 #2024 election
	title = USA_treason_event.7.t
	desc = USA_treason_event.7.d
	picture = GFX_election_day
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_elections = yes
	}

	option = { # Commit Election Fraud
		name = USA_treason_event.7.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.7.o1 executed"
		if = {
			limit = {
				NOT = { has_completed_focus = USA_focus_congressional_chaos }
			}
			newline = yes
			add_popularity = { ideology = democratic popularity = 0.35 }
			set_temp_variable = { party_index = 0 }
			set_temp_variable = { party_popularity_increase = 0.50 }
			change_relative_party_popularity = yes
		}
		else = {
			add_political_power = 100
			add_stability = 0.05
			add_war_support = 0.05
		}
		ai_chance = {
			base = 1
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = -1
			}
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = -1
			}
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = -1
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = { # Commit Election Fraud Republicans
		name = USA_treason_event.7.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.7.o2 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
			modifier = {
				has_global_flag = USA_REPUBLICAN_PATH
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = 100
			}
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = -1
			}
		}
	}

	option = { # Commit Election Fraud Democrats
		name = USA_treason_event.7.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.7.o3 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
			modifier = {
				has_global_flag = USA_DEMOCRAT_PATH
				factor = 100
			}
			modifier = {
				has_global_flag = GAME_RULE_USA_historical_presidents_ai
				factor = -1
			}
			modifier = {
				has_global_flag = USA_THE_GREAT_REBELLION
				factor = -1
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = USA_treason_event.8 #2004 election
	title = USA_treason_event.8.t
	desc = USA_treason_event.8.d
	picture = GFX_treaty
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 774
	}

	option = { # Commit Election Fraud Libertarians
		name = USA_treason_event.8.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.8.o1 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Reform
		name = USA_treason_event.8.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.8.o2 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Constitutionalist
		name = USA_treason_event.8.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.8.o3 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud With Someone Else
		name = USA_treason_event.8.o4
		log = "[GetDateText]: [This.GetName]: USA_treason_event.8.o4 executed"
		country_event = {
			id = USA_treason_event.9
			days = 1
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = USA_treason_event.9 #2004 election
	title = USA_treason_event.9.t
	desc = USA_treason_event.9.d
	picture = GFX_treaty
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 808
	}

	option = { # Commit Election Fraud Greens
		name = USA_treason_event.9.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.9.o1 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Progressives
		name = USA_treason_event.9.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.9.o2 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud DemSoc's
		name = USA_treason_event.9.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.9.o3 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud With Someone Else
		name = USA_treason_event.9.o4
		log = "[GetDateText]: [This.GetName]: USA_treason_event.9.o4 executed"
		country_event = {
			id = USA_treason_event.10
			days = 1
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = USA_treason_event.10 #2004 election
	title = USA_treason_event.10.t
	desc = USA_treason_event.10.d
	picture = GFX_treaty
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 811
		has_full_control_of_state = 810
	}

	option = { # Commit Election Fraud Velvet Coalition
		name = USA_treason_event.10.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.10.o1 executed"
		newline = yes
		add_popularity = { ideology = communism popularity = 0.35 }
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Chocolate Coalition
		name = USA_treason_event.10.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.10.o2 executed"
		newline = yes
		add_popularity = { ideology = nationalist popularity = 0.35 }
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Try Again?
		name = USA_treason_event.10.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.10.o3 executed"
		country_event = {
			id = USA_treason_event.8
			days = 1
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = USA_treason_event.11 #2008 election
	title = USA_treason_event.11.t
	desc = USA_treason_event.11.d
	picture = GFX_treaty
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 778
		has_full_control_of_state = 779
		has_full_control_of_state = 780
	}

	option = { # Commit Election Fraud Libertarians
		name = USA_treason_event.11.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.11.o1 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Reform
		name = USA_treason_event.11.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.11.o2 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Constitutionalist
		name = USA_treason_event.11.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.11.o3 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud With Someone Else
		name = USA_treason_event.11.o4
		log = "[GetDateText]: [This.GetName]: USA_treason_event.11.o4 executed"
		country_event = {
			id = USA_treason_event.12
			days = 1
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = USA_treason_event.12 #2008 election
	title = USA_treason_event.12.t
	desc = USA_treason_event.12.d
	picture = GFX_treaty
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = { # Commit Election Fraud Greens
		name = USA_treason_event.12.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.12.o1 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Progressives
		name = USA_treason_event.12.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.12.o2 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud DemSoc's
		name = USA_treason_event.12.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.12.o3 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud With Someone Else
		name = USA_treason_event.12.o4
		log = "[GetDateText]: [This.GetName]: USA_treason_event.12.o4 executed"
		country_event = {
			id = USA_treason_event.13
			days = 1
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = USA_treason_event.13 #2008 election
	title = USA_treason_event.13.t
	desc = USA_treason_event.13.d
	picture = GFX_treaty
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = { # Commit Election Fraud Velvet Coalition
		name = USA_treason_event.13.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.13.o1 executed"
		newline = yes
		add_popularity = { ideology = communism popularity = 0.35 }
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Chocolate Coalition
		name = USA_treason_event.13.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.13.o2 executed"
		newline = yes
		add_popularity = { ideology = nationalist popularity = 0.35 }
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Try Again?
		name = USA_treason_event.13.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.13.o3 executed"
		country_event = {
			id = USA_treason_event.11
			days = 1
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = USA_treason_event.14 #2012 election
	title = USA_treason_event.14.t
	desc = USA_treason_event.14.d
	picture = GFX_treaty
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = { # Commit Election Fraud Libertarians
		name = USA_treason_event.14.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.14.o1 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Reform
		name = USA_treason_event.14.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.14.o2 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Constitutionalist
		name = USA_treason_event.14.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.14.o3 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud With Someone Else
		name = USA_treason_event.14.o4
		log = "[GetDateText]: [This.GetName]: USA_treason_event.14.o4 executed"
		country_event = {
			id = USA_treason_event.15
			days = 1
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = USA_treason_event.15 #2012 election
	title = USA_treason_event.15.t
	desc = USA_treason_event.15.d
	picture = GFX_treaty
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = { # Commit Election Fraud Greens
		name = USA_treason_event.15.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.15.o1 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Progressives
		name = USA_treason_event.15.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.15.o2 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud DemSoc's
		name = USA_treason_event.15.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.15.o3 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud With Someone Else
		name = USA_treason_event.15.o4
		log = "[GetDateText]: [This.GetName]: USA_treason_event.15.o4 executed"
		country_event = {
			id = USA_treason_event.16
			days = 1
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = USA_treason_event.16 #2012 election
	title = USA_treason_event.16.t
	desc = USA_treason_event.16.d
	picture = GFX_treaty
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = { # Commit Election Fraud Velvet Coalition
		name = USA_treason_event.16.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.16.o1 executed"
		newline = yes
		add_popularity = { ideology = communism popularity = 0.35 }
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Chocolate Coalition
		name = USA_treason_event.16.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.16.o2 executed"
		newline = yes
		add_popularity = { ideology = nationalist popularity = 0.35 }
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Try Again?
		name = USA_treason_event.16.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.16.o3 executed"
		country_event = {
			id = USA_treason_event.14
			days = 1
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = USA_treason_event.17 #2016 election
	title = USA_treason_event.17.t
	desc = USA_treason_event.17.d
	picture = GFX_treaty
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = { # Commit Election Fraud Libertarians
		name = USA_treason_event.17.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.17.o1 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 16 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Reform
		name = USA_treason_event.17.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.17.o2 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 13 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Constitutionalist
		name = USA_treason_event.17.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.17.o3 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud With Someone Else
		name = USA_treason_event.17.o4
		log = "[GetDateText]: [This.GetName]: USA_treason_event.17.o4 executed"
		country_event = {
			id = USA_treason_event.18
			days = 1
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = USA_treason_event.18 #2016 election
	title = USA_treason_event.18.t
	desc = USA_treason_event.18.d
	picture = GFX_treaty
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = { # Commit Election Fraud Greens
		name = USA_treason_event.18.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.18.o1 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Progressives
		name = USA_treason_event.18.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.18.o2 executed"
		newline = yes
		add_popularity = { ideology = democratic popularity = 0.35 }
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud DemSoc's
		name = USA_treason_event.18.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.18.o3 executed"
		newline = yes
		add_popularity = { ideology = neutrality popularity = 0.35 }
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud With Someone Else
		name = USA_treason_event.18.o4
		log = "[GetDateText]: [This.GetName]: USA_treason_event.18.o4 executed"
		country_event = {
			id = USA_treason_event.19
			days = 1
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = USA_treason_event.19 #2016 election
	title = USA_treason_event.19.t
	desc = USA_treason_event.19.d
	picture = GFX_treaty
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = { # Commit Election Fraud Velvet Coalition
		name = USA_treason_event.19.o1
		log = "[GetDateText]: [This.GetName]: USA_treason_event.19.o1 executed"
		newline = yes
		add_popularity = { ideology = communism popularity = 0.35 }
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Chocolate Coalition
		name = USA_treason_event.19.o2
		log = "[GetDateText]: [This.GetName]: USA_treason_event.19.o2 executed"
		newline = yes
		add_popularity = { ideology = nationalist popularity = 0.35 }
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.50 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 5
		}
	}

	option = { # Commit Election Fraud Try Again?
		name = USA_treason_event.19.o3
		log = "[GetDateText]: [This.GetName]: USA_treason_event.19.o3 executed"
		country_event = {
			id = USA_treason_event.17
			days = 1
		}
		ai_chance = {
			base = 1
		}
	}
}

 #### Flash point event Violence Path
country_event = {
	id = USA_crisis_event.1107 ##March
	title = USA_crisis_event.1107.t
	desc = USA_crisis_event.1107.d
	picture = GFX_generic_soldiers
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { # Violence
		name = USA_crisis_event.1107.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1107.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.03 tooltip = political_power_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.05 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = -0.05 tooltip = industrial_capacity_factory_tt }
		country_event = {
			id = USA_crisis_event.1108
			days = 61
		}
	}
}

country_event = {
	id = USA_crisis_event.1108 ##May
	title = USA_crisis_event.1108.t
	desc = USA_crisis_event.1108.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { # Violence
		name = USA_crisis_event.1108.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1108.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.03 tooltip = political_power_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.05 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = -0.05 tooltip = industrial_capacity_factory_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_us_airforce
		}
		add_to_variable = { us_airforce_air_mission_efficiency = -0.05 tooltip = air_mission_efficiency_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_us_army
		}
		add_to_variable = { us_army_army_org = -0.05 tooltip = army_org_factor_tt }
		country_event = {
			id = USA_crisis_event.1109
			days = 14
		}
	}
}

country_event = {
	id = USA_crisis_event.1109 ##July
	title = USA_crisis_event.1109.t
	desc = USA_crisis_event.1109.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { # Violence
		name = USA_crisis_event.1109.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1109.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.10 tooltip = political_power_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.10 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = -0.10 tooltip = industrial_capacity_factory_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_us_airforce
		}
		add_to_variable = { us_airforce_air_mission_efficiency = -0.08 tooltip = air_mission_efficiency_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_us_army
		}
		add_to_variable = { us_army_army_org = -0.08 tooltip = army_org_factor_tt }
		add_to_variable = { us_army_army_attack = -0.05 tooltip = army_attack_factor_tt }
		add_to_variable = { us_army_army_defence = -0.05 tooltip = army_defence_factor_tt }
		country_event = {
			id = USA_crisis_event.1110
			days = 14
		}
	}
}

country_event = {
	id = USA_crisis_event.1110 ##September
	title = USA_crisis_event.1110.t
	desc = USA_crisis_event.1110.d
	picture = GFX_generic_soldiers
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_full_control_of_state = 800
	}

	immediate = {
		hidden_effect = {
			TEX = {
				inherit_technology = PREV
				transfer_state = 800
				add_state_core = 800
			}
			every_unit_leader = {
				limit = { has_trait = texan_soldier }
				set_nationality = TEX
			}
			transfer_units_fraction = {
				target = TEX
				size = 0.02
				keep_unit_leaders_trigger = {
					OR = {
						has_trait = loyalist_soldier
						has_trait = southern_soldier
						has_trait = midwest_soldier
						has_trait = new_yorker_soldier
						has_trait = new_england_soldier
						has_trait = great_plains_soldier
						has_trait = rocky_mountain_soldier
						has_trait = california_soldier
						has_trait = cascadian_soldier
						has_trait = puerto_rican_soldier
						has_trait = alaskan_soldier
						has_trait = pacific_islander_soldier
					}
				}
			}
		}
	}

	option = { # Violence
		name = USA_crisis_event.1110.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1110.o1 executed"
		TEX = {
			country_event = { id = USA_crisis_event.1120 days = 4 }
		}
		country_event = {
			id = USA_crisis_event.1111
			days = 30
		}
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.10 tooltip = political_power_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.10 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = -0.10 tooltip = industrial_capacity_factory_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_us_airforce
		}
		add_to_variable = { us_airforce_air_mission_efficiency = -0.08 tooltip = air_mission_efficiency_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_us_army
		}
		add_to_variable = { us_army_army_org = -0.08 tooltip = army_org_factor_tt }
		add_to_variable = { us_army_army_attack = -0.03 tooltip = army_attack_factor_tt }
		add_to_variable = { us_army_army_defence = -0.03 tooltip = army_defence_factor_tt }
		hidden_effect = {
			TEX = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
				country_event = { id = USA_crisis_event.1120 days = 4 }
			}
		}
	}

	option = { # Violence
		name = USA_crisis_event.1110.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1110.o2 executed"
		TEX = {
			change_tag_from = USA
		}
		country_event = {
			id = USA_crisis_event.1111
			days = 30
		}
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.10 tooltip = political_power_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.10 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = -0.10 tooltip = industrial_capacity_factory_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_us_airforce
		}
		add_to_variable = { us_airforce_air_mission_efficiency = -0.08 tooltip = air_mission_efficiency_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_us_army
		}
		add_to_variable = { us_army_army_org = -0.08 tooltip = army_org_factor_tt }
		add_to_variable = { us_army_army_attack = -0.03 tooltip = army_attack_factor_tt }
		add_to_variable = { us_army_army_defence = -0.03 tooltip = army_defence_factor_tt }
		hidden_effect = {
			TEX = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
				country_event = { id = USA_crisis_event.1120 days = 4 }
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1111
	title = USA_crisis_event.1111.t
	desc = USA_crisis_event.1111.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { # War
		name = USA_crisis_event.1111.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1111.o1 executed"
		declare_war_on = {
			target = TEX
			type = annex_everything
		}
		country_event = {
			id = USA_crisis_event.1124
			days = 1
		}
		TEX = {
			country_event = { id = USA_crisis_event.1112 days = 7 }
		}
	}
}

country_event = {
	id = USA_crisis_event.1112
	title = USA_crisis_event.1112.t
	desc = USA_crisis_event.1112.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = TEX
		NOT = { has_country_flag = collapsed_nation }
	}

	immediate = {
		hidden_effect = {
			CSA = {
				inherit_technology = PREV
				transfer_state = 794
				add_state_core = 794
				transfer_state = 796
				add_state_core = 796
				transfer_state = 797
				add_state_core = 797
				transfer_state = 795
				add_state_core = 795
				transfer_state = 793
				add_state_core = 793
				transfer_state = 798
				add_state_core = 798
			}
		}
	}

	option = { # War Escalation
		name = USA_crisis_event.1112.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1112.o1 executed"
		USA = {
			country_event = {
				id = USA_crisis_event.1113
				days = 3
			}
		}
		TEX = {
			country_event = { id = USA_crisis_event.1115 days = 7 }
		}
		CSA = {
			change_tag_from = TEX
		}
		hidden_effect = {
			CSA = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
				country_event = { id = USA_crisis_event.1121 days = 3 }
				country_event = { id = USA_crisis_event.1128 days = 1 }
			}
		}
	}

	option = { # War Escalation
		name = USA_crisis_event.1112.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1112.o2 executed"
		USA = {
			country_event = {
				id = USA_crisis_event.1113
				days = 3
			}
		}
		TEX = {
			country_event = { id = USA_crisis_event.1115 days = 7 }
		}
		CSA = {
		}
		hidden_effect = {
			CSA = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
				country_event = { id = USA_crisis_event.1121 days = 3 }
				country_event = { id = USA_crisis_event.1128 days = 1 }
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1113
	title = USA_crisis_event.1113.t
	desc = USA_crisis_event.1113.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { # Violence
		name = USA_crisis_event.1113.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1113.o1 executed"
		country_event = {
			id = USA_crisis_event.1114
			days = 4
		}
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.10 tooltip = political_power_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_department_of_the_interior
		}
		add_to_variable = { doti_construction_speed = -0.10 tooltip = production_speed_buildings_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = -0.10 tooltip = industrial_capacity_factory_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_us_airforce
		}
		add_to_variable = { us_airforce_air_mission_efficiency = -0.08 tooltip = air_mission_efficiency_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_dynamic_modifier_us_army
		}
		add_to_variable = { us_army_army_org = -0.08 tooltip = army_org_factor_tt }
		add_to_variable = { us_army_army_attack = -0.03 tooltip = army_attack_factor_tt }
		add_to_variable = { us_army_army_defence = -0.03 tooltip = army_defence_factor_tt }
		every_unit_leader = {
			limit = { has_trait = southern_soldier }
			set_nationality = CSA
		}
		transfer_units_fraction = {
			target = CSA
			size = 0.02
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = great_plains_soldier
					has_trait = rocky_mountain_soldier
					has_trait = california_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_crisis_event.1125
			days = 3
		}
	}
}

country_event = {
	id = USA_crisis_event.1114
	title = USA_crisis_event.1114.t
	desc = USA_crisis_event.1114.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { # Violence
		name = USA_crisis_event.1114.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1114.o1 executed"
		declare_war_on = {
			target = CSA
			type = annex_everything
		}
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.10 tooltip = political_power_factor_tt }
	}
}

country_event = {
	id = USA_crisis_event.1115
	title = USA_crisis_event.1115.t
	desc = USA_crisis_event.1115.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = TEX
		NOT = { has_country_flag = collapsed_nation }
	}

	immediate = {
		hidden_effect = {
			LKT = {
				inherit_technology = PREV
				transfer_state = 786
				add_state_core = 786
				transfer_state = 787
				add_state_core = 787
				transfer_state = 788
				add_state_core = 788
			}
		}
	}

	option = { # War Escalation
		name = USA_crisis_event.1115.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1115.o1 executed"
		LKT = { change_tag_from = TEX }
		USA = {
			country_event = {
				id = USA_crisis_event.1116
				days = 4
			}
		}
		TEX = {
			country_event = { id = USA_crisis_event.1117 days = 7 }
		}
		hidden_effect = {
			LKT = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
	}

	option = { # War Escalation
		name = USA_crisis_event.1115.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1115.o2 executed"
		USA = {
			country_event = {
				id = USA_crisis_event.1116
				days = 4
			}
		}
		TEX = {
			country_event = { id = USA_crisis_event.1117 days = 7 }
		}
		hidden_effect = {
			LKT = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
				country_event = { id = USA_crisis_event.1122 days = 5 }
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1116
	title = USA_crisis_event.1116.t
	desc = USA_crisis_event.1116.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { # Violence
		name = USA_crisis_event.1116.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1116.o1 executed"
		country_event = {
			id = USA_crisis_event.1131
			days = 2
		}
		declare_war_on = {
			target = LKT
			type = annex_everything
		}
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.10 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.10 tooltip = drift_defence_factor_tt }
		every_unit_leader = {
			limit = { has_trait = great_plains_soldier }
			set_nationality = LKT
		}
		transfer_units_fraction = {
			target = LKT
			size = 0.02
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = new_england_soldier
					has_trait = southern_soldier
					has_trait = rocky_mountain_soldier
					has_trait = california_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1117
	title = USA_crisis_event.1117.t
	desc = USA_crisis_event.1117.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = TEX
		NOT = { has_country_flag = collapsed_nation }
	}

	immediate = {
		hidden_effect = {
			NEN = {
				inherit_technology = PREV
				transfer_state = 764
				add_state_core = 764
				transfer_state = 765
				add_state_core = 765
				transfer_state = 766
				add_state_core = 766
				transfer_state = 767
				add_state_core = 767
				transfer_state = 768
				add_state_core = 768
				transfer_state = 1084
				add_state_core = 1084
			}
		}
	}

	option = { # War Escalation
		name = USA_crisis_event.1117.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1117.o1 executed"
		NEN = {
			country_event = USA_crisis_event.1123
			change_tag_from = TEX
		}
		USA = {
			country_event = {
				id = USA_crisis_event.1118
				days = 5
			}
		}
		hidden_effect = {
			NEN = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
	}

	option = { # War Escalation
		name = USA_crisis_event.1117.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1117.o2 executed"
		NEN = {
		}
		USA = {
			country_event = {
				id = USA_crisis_event.1118
				days = 5
			}
		}
		hidden_effect = {
			NEN = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
				country_event = { id = USA_crisis_event.1123 days = 2 }
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1118
	title = USA_crisis_event.1118.t
	desc = USA_crisis_event.1118.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { # Violence
		name = USA_crisis_event.1118.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1118.o1 executed"
		USA = {
			declare_war_on = {
				target = NEN
				type = annex_everything
			}
		}
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.10 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.10 tooltip = drift_defence_factor_tt }
		every_unit_leader = {
			limit = { has_trait = new_england_soldier }
			set_nationality = NEN
		}
		transfer_units_fraction = {
			target = NEN
			size = 0.02
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = great_plains_soldier
					has_trait = southern_soldier
					has_trait = rocky_mountain_soldier
					has_trait = california_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = puerto_rican_soldier
				}
			}
		}
		country_event = {
			id = USA_crisis_event.1119
			days = 5
		}
	}
}

country_event = {
	id = USA_crisis_event.1119
	title = USA_crisis_event.1119.t
	desc = USA_crisis_event.1119.d
	picture = GFX_USA_Berkley_Riot
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_full_control_of_state = 815
		has_full_control_of_state = 1212
	}

	immediate = {
		hidden_effect = {
			PTR = {
				inherit_technology = PREV
				transfer_state = 815
				add_state_core = 815
				transfer_state = 1212
				add_state_core = 1212
			}
		}
	}

	option = { # War Escalation
		name = USA_crisis_event.1119.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1119.o1 executed"
		PTR = { change_tag_from = USA }
		every_unit_leader = {
			limit = { has_trait = puerto_rican_soldier }
			set_nationality = PTR
		}
		transfer_units_fraction = {
			target = PTR
			size = 0.02
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = great_plains_soldier
					has_trait = southern_soldier
					has_trait = rocky_mountain_soldier
					has_trait = california_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = new_england_soldier
				}
			}
		}
		hidden_effect = {
			PTR = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
	}

	option = { # War Escalation
		name = USA_crisis_event.1119.o2
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1119.o2 executed"
		every_unit_leader = {
			limit = { has_trait = puerto_rican_soldier }
			set_nationality = PTR
		}
		transfer_units_fraction = {
			target = PTR
			size = 0.02
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = great_plains_soldier
					has_trait = southern_soldier
					has_trait = rocky_mountain_soldier
					has_trait = california_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = new_england_soldier
				}
			}
		}
		hidden_effect = {
			PTR = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1120
	title = USA_crisis_event.1120.t
	desc = USA_crisis_event.1120.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = TEX }

	option = { # Defenses
		name = USA_crisis_event.1120.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1120.o1 executed"
		load_focus_tree = generic_focus
		if = {
			limit = { has_tech = infantry_weapons_5 }
				add_equipment_to_stockpile = {
				type = infantry_weapons_3
				amount = 2000
				producer = TEX
			}
		}
		else_if = {
			limit = { has_tech = infantry_weapons_4 }
			add_equipment_to_stockpile = {
				type = infantry_weapons_2
				amount = 2000
				producer = TEX
			}
		}
		if = {
			limit = { has_template = "National Guard Brigade" }
			capital_scope = {
				create_unit = {
					division = "name = \"National Guard Brigade\" division_template = \"National Guard Brigade\" start_experience_factor = 1.5"
					owner = ROOT
					count = 10
				}
			}
		}
		else = {
			division_template = {
				name = "National Guard Brigade"
				support = {
					H_Engi_Comp = { x = 0 y = 0 }
					Mot_Recce_Comp = { x = 0 y = 1 }
					combat_service_support_company = { x = 0 y = 2 }
				}
				regiments = {
					L_Inf_Bat = { x = 0 y = 0 }
					L_Inf_Bat = { x = 1 y = 0 }
					L_Inf_Bat = { x = 2 y = 0 }
					L_Inf_Bat = { x = 3 y = 0 }
					L_Inf_Bat = { x = 1 y = 1 }
					L_Inf_Bat = { x = 2 y = 1 }
				}
				priority = 0
			}
			capital_scope = {
				create_unit = {
					division = "name = \"National Guard Brigade\" division_template = \"National Guard Brigade\" start_experience_factor = 1.5"
					owner = ROOT
					count = 10
				}
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1121
	title = USA_crisis_event.1121.t
	desc = USA_crisis_event.1121.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = CSA }

	option = { # Defenses
		name = USA_crisis_event.1121.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1121.o1 executed"
		load_focus_tree = generic_focus
		if = {
			limit = { has_tech = infantry_weapons_5 }
				add_equipment_to_stockpile = {
				type = infantry_weapons_3
				amount = 5000
				producer = CSA
			}
		}
		else_if = {
			limit = { has_tech = infantry_weapons_4 }
			add_equipment_to_stockpile = {
				type = infantry_weapons_2
				amount = 5000
				producer = CSA
			}
		}
		if = {
			limit = { has_template = "National Guard Brigade" }
			capital_scope = {
				create_unit = {
					division = "name = \"National Guard Brigade\" division_template = \"National Guard Brigade\" start_experience_factor = 1.0"
					owner = ROOT
					count = 21
				}
			}
		}
		else = {
			division_template = {
				name = "National Guard Brigade"
				support = {
					H_Engi_Comp = { x = 0 y = 0 }
					Mot_Recce_Comp = { x = 0 y = 1 }
					combat_service_support_company = { x = 0 y = 2 }
				}
				regiments = {
					L_Inf_Bat = { x = 0 y = 0 }
					L_Inf_Bat = { x = 1 y = 0 }
					L_Inf_Bat = { x = 2 y = 0 }
					L_Inf_Bat = { x = 3 y = 0 }
					L_Inf_Bat = { x = 1 y = 1 }
					L_Inf_Bat = { x = 2 y = 1 }
				}
				priority = 0
			}
			capital_scope = {
				create_unit = {
					division = "name = \"National Guard Brigade\" division_template = \"National Guard Brigade\" start_experience_factor = 1.0"
					owner = ROOT
					count = 21
				}
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1122
	title = USA_crisis_event.1122.t
	desc = USA_crisis_event.1122.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = LKT }

	option = { # Defenses
		name = USA_crisis_event.1122.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1122.o1 executed"
		load_focus_tree = generic_focus
		if = {
			limit = { has_tech = infantry_weapons_5 }
				add_equipment_to_stockpile = {
				type = infantry_weapons_3
				amount = 1000
				producer = LKT
			}
		}
		else_if = {
			limit = { has_tech = infantry_weapons_4 }
			add_equipment_to_stockpile = {
				type = infantry_weapons_2
				amount = 1000
				producer = LKT
			}
		}
		if = {
			limit = { has_template = "National Guard Brigade" }
			capital_scope = {
				create_unit = {
					division = "name = \"National Guard Brigade\" division_template = \"National Guard Brigade\" start_experience_factor = 1.0"
					owner = ROOT
					count = 12
				}
			}
		}
		else = {
			division_template = {
				name = "National Guard Brigade"
				support = {
					H_Engi_Comp = { x = 0 y = 0 }
					Mot_Recce_Comp = { x = 0 y = 1 }
					combat_service_support_company = { x = 0 y = 2 }
				}
				regiments = {
					L_Inf_Bat = { x = 0 y = 0 }
					L_Inf_Bat = { x = 1 y = 0 }
					L_Inf_Bat = { x = 2 y = 0 }
					L_Inf_Bat = { x = 3 y = 0 }
					L_Inf_Bat = { x = 1 y = 1 }
					L_Inf_Bat = { x = 2 y = 1 }
				}
				priority = 0
			}
			capital_scope = {
				create_unit = {
					division = "name = \"National Guard Brigade\" division_template = \"National Guard Brigade\" start_experience_factor = 1.0"
					owner = ROOT
					count = 12
				}
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1123
	title = USA_crisis_event.1123.t
	desc = USA_crisis_event.1123.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = NEN }

	option = { # Defenses
		name = USA_crisis_event.1123.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1123.o1 executed"
		load_focus_tree = generic_focus
		if = {
			limit = { has_tech = infantry_weapons_5 }
				add_equipment_to_stockpile = {
				type = infantry_weapons_5
				amount = 1000
				producer = NEN
			}
		}
		else_if = {
			limit = { has_tech = infantry_weapons_4 }
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 1000
				producer = NEN
			}
		}
		if = {
			limit = { has_template = "National Guard Brigade" }
			capital_scope = {
				create_unit = {
					division = "name = \"National Guard Brigade\" division_template = \"National Guard Brigade\" start_experience_factor = 1.0"
					owner = ROOT
					count = 10
				}
			}
		}
		else = {
			division_template = {
				name = "National Guard Brigade"
				support = {
					H_Engi_Comp = { x = 0 y = 0 }
					Mot_Recce_Comp = { x = 0 y = 1 }
					combat_service_support_company = { x = 0 y = 2 }
				}
				regiments = {
					L_Inf_Bat = { x = 0 y = 0 }
					L_Inf_Bat = { x = 1 y = 0 }
					L_Inf_Bat = { x = 2 y = 0 }
					L_Inf_Bat = { x = 3 y = 0 }
					L_Inf_Bat = { x = 1 y = 1 }
					L_Inf_Bat = { x = 2 y = 1 }
				}
				priority = 0
			}
			capital_scope = {
				create_unit = {
					division = "name = \"National Guard Brigade\" division_template = \"National Guard Brigade\" start_experience_factor = 1.0"
					owner = ROOT
					count = 10
				}
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1124
	title = USA_crisis_event.1124.t
	desc = USA_crisis_event.1124.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_full_control_of_state = 803
		has_full_control_of_state = 806
	}

	immediate = {
		hidden_effect = {
			TEX = {
				transfer_state = 803
				add_state_core = 803
				transfer_state = 806
				add_state_core = 806
			}
			every_unit_leader = {
				limit = { has_trait = rocky_mountain_soldier }
				set_nationality = TEX
			}
			transfer_units_fraction = {
				target = TEX
				size = 0.02
				keep_unit_leaders_trigger = {
					OR = {
						has_trait = loyalist_soldier
						has_trait = southern_soldier
						has_trait = midwest_soldier
						has_trait = new_yorker_soldier
						has_trait = new_england_soldier
						has_trait = great_plains_soldier
						has_trait = texan_soldier
						has_trait = california_soldier
						has_trait = cascadian_soldier
						has_trait = puerto_rican_soldier
						has_trait = alaskan_soldier
						has_trait = pacific_islander_soldier
					}
				}
			}
		}
	}

	option = { # War
		name = USA_crisis_event.1124.o1
	}
}

country_event = {
	id = USA_crisis_event.1125
	title = USA_crisis_event.1125.t
	desc = USA_crisis_event.1125.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 774
	}

	immediate = {
		hidden_effect = {
			WVA = {
				inherit_technology = PREV
				transfer_state = 774
				add_state_core = 774
			}
		}
	}

	option = { # Defenses
		name = USA_crisis_event.1125.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1125.o1 executed"
		country_event = {
			id = USA_crisis_event.1127
			days = 7
		}
		WVA = {
			country_event = {
					id = USA_crisis_event.1126
					days = 1
				}
		}
		hidden_effect = {
			WVA = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1126
	title = USA_crisis_event.1126.t
	desc = USA_crisis_event.1126.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = WVA }

	option = { # Defenses
		name = USA_crisis_event.1126.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1126.o1 executed"
		if = {
			limit = { has_tech = infantry_weapons_4 }
				add_equipment_to_stockpile = {
				type = infantry_weapons_2
				amount = 2000
				producer = WVA
			}
		}
		else_if = {
			limit = { has_tech = infantry_weapons_3 }
			add_equipment_to_stockpile = {
				type = infantry_weapons_1
				amount = 2000
				producer = WVA
			}
		}
		if = {
			limit = { has_template = "Workers Mining Brigade" }
			capital_scope = {
				create_unit = {
					division = "name = \"Workers Mining Brigade\" division_template = \"Workers Mining Brigade\" start_experience_factor = 1.5"
					owner = ROOT
					count = 10
				}
			}
		}
		else = {
			division_template = {
				name = "Workers Mining Brigade"
				support = {
					H_Engi_Comp = { x = 0 y = 0 }
					Mot_Recce_Comp = { x = 0 y = 1 }
					combat_service_support_company = { x = 0 y = 2 }
				}
				regiments = {
					L_Inf_Bat = { x = 0 y = 0 }
					L_Inf_Bat = { x = 1 y = 0 }
					L_Inf_Bat = { x = 2 y = 0 }
					L_Inf_Bat = { x = 3 y = 0 }
					L_Inf_Bat = { x = 1 y = 1 }
					L_Inf_Bat = { x = 2 y = 1 }
				}
				priority = 0
			}
			capital_scope = {
				create_unit = {
					division = "name = \"Workers Mining Brigade\" division_template = \"Workers Mining Brigade\" start_experience_factor = 1.5"
					owner = ROOT
					count = 10
				}
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1127
	title = USA_crisis_event.1127.t
	desc = USA_crisis_event.1127.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = { # Defenses
		name = USA_crisis_event.1127.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1127.o1 executed"
		declare_war_on = {
			target = WVA
			type = annex_everything
		}
	}
}

country_event = {
	id = USA_crisis_event.1128
	title = USA_crisis_event.1128.t
	desc = USA_crisis_event.1128.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = CSA }

	immediate = {
		hidden_effect = {
			FLA = {
				inherit_technology = PREV
				transfer_state = 795
				add_state_core = 795
			}
		}
	}

	option = { # Defenses
		name = USA_crisis_event.1128.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1128.o1 executed"
		USA = {
			country_event = {
				id = USA_crisis_event.1130
				days = 7
			}
		}
		FLA = {
			country_event = {
					id = USA_crisis_event.1129
					days = 1
				}
		}
		hidden_effect = {
			FLA = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1129
	title = USA_crisis_event.1129.t
	desc = USA_crisis_event.1129.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = FLA }

	option = { # Defenses
		name = USA_crisis_event.1129.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1129.o1 executed"
		if = {
			limit = { has_tech = infantry_weapons_4 }
				add_equipment_to_stockpile = {
				type = infantry_weapons_2
				amount = 2000
				producer = FLA
			}
		}
		else_if = {
			limit = { has_tech = infantry_weapons_3 }
			add_equipment_to_stockpile = {
				type = infantry_weapons_1
				amount = 2000
				producer = FLA
			}
		}
		if = {
			limit = { has_template = "State Guard Brigade" }
			capital_scope = {
				create_unit = {
					division = "name = \"State Guard Brigade\" division_template = \"State Guard Brigade\" start_experience_factor = 1.5"
					owner = ROOT
					count = 5
				}
			}
		}
		else = {
			division_template = {
				name = "State Guard Brigade"
				support = {
					H_Engi_Comp = { x = 0 y = 0 }
					Mot_Recce_Comp = { x = 0 y = 1 }
					combat_service_support_company = { x = 0 y = 2 }
				}
				regiments = {
					L_Inf_Bat = { x = 0 y = 0 }
					L_Inf_Bat = { x = 1 y = 0 }
					L_Inf_Bat = { x = 2 y = 0 }
					L_Inf_Bat = { x = 3 y = 0 }
					L_Inf_Bat = { x = 1 y = 1 }
					L_Inf_Bat = { x = 2 y = 1 }
				}
				priority = 0
			}
			capital_scope = {
				create_unit = {
					division = "name = \"State Guard Brigade\" division_template = \"State Guard Brigade\" start_experience_factor = 1.5"
					owner = ROOT
					count = 5
				}
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1130
	title = USA_crisis_event.1130.t
	desc = USA_crisis_event.1130.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = { # Defenses
		name = USA_crisis_event.1130.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1130.o1 executed"
		declare_war_on = {
			target = FLA
			type = annex_everything
		}
	}
}

country_event = {
	id = USA_crisis_event.1131
	title = USA_crisis_event.1131.t
	desc = USA_crisis_event.1131.d
	picture = GFX_politics_anarchism
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 808
	}

	immediate = {
		hidden_effect = {
			IDH = {
				inherit_technology = PREV
				transfer_state = 808
				add_state_core = 808
			}
		}
	}

	option = { # Defenses
		name = USA_crisis_event.1131.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1131.o1 executed"
		USA = {
			country_event = {
				id = USA_crisis_event.1133
				days = 7
			}
			country_event = {
				id = USA_crisis_event.1134
				days = 3
			}
		}
		IDH = {
			country_event = {
					id = USA_crisis_event.1132
					days = 1
				}
		}
		hidden_effect = {
			IDH = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1132
	title = USA_crisis_event.1132.t
	desc = USA_crisis_event.1132.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = IDH }

	option = { # Defenses
		name = USA_crisis_event.1132.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1132.o1 executed"
		if = {
			limit = { has_tech = infantry_weapons_4 }
				add_equipment_to_stockpile = {
				type = infantry_weapons_2
				amount = 2000
				producer = IDH
			}
		}
		else_if = {
			limit = { has_tech = infantry_weapons_3 }
			add_equipment_to_stockpile = {
				type = infantry_weapons_1
				amount = 2000
				producer = IDH
			}
		}
		if = {
			limit = { has_template = "State Guard Brigade" }
			capital_scope = {
				create_unit = {
					division = "name = \"State Guard Brigade\" division_template = \"State Guard Brigade\" start_experience_factor = 1.5"
					owner = ROOT
					count = 5
				}
			}
		}
		else = {
			division_template = {
				name = "State Guard Brigade"
				support = {
					H_Engi_Comp = { x = 0 y = 0 }
					Mot_Recce_Comp = { x = 0 y = 1 }
					combat_service_support_company = { x = 0 y = 2 }
				}
				regiments = {
					L_Inf_Bat = { x = 0 y = 0 }
					L_Inf_Bat = { x = 1 y = 0 }
					L_Inf_Bat = { x = 2 y = 0 }
					L_Inf_Bat = { x = 3 y = 0 }
					L_Inf_Bat = { x = 1 y = 1 }
					L_Inf_Bat = { x = 2 y = 1 }
				}
				priority = 0
			}
			capital_scope = {
				create_unit = {
					division = "name = \"State Guard Brigade\" division_template = \"State Guard Brigade\" start_experience_factor = 1.5"
					owner = ROOT
					count = 5
				}
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1133
	title = USA_crisis_event.1133.t
	desc = USA_crisis_event.1133.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = { # Defenses
		name = USA_crisis_event.1133.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1133.o1 executed"
		declare_war_on = {
			target = IDH
			type = annex_everything
		}
	}
}

country_event = {
	id = USA_crisis_event.1134
	title = USA_crisis_event.1134.t
	desc = USA_crisis_event.1134.d
	picture = GFX_politics_anarchism
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 811
		has_full_control_of_state = 810
	}

	immediate = {
		hidden_effect = {
			CAL = {
				inherit_technology = PREV
				transfer_state = 811
				add_state_core = 811
				transfer_state = 810
				add_state_core = 810
			}
		}
	}

	option = { # Defenses
		name = USA_crisis_event.1134.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1134.o1 executed"
		every_unit_leader = {
			limit = { has_trait = california_soldier }
			set_nationality = CAL
		}
		transfer_units_fraction = {
			target = CAL
			size = 0.02
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = midwest_soldier
					has_trait = new_yorker_soldier
					has_trait = great_plains_soldier
					has_trait = southern_soldier
					has_trait = rocky_mountain_soldier
					has_trait = puerto_rican_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = new_england_soldier
				}
			}
		}
		hidden_effect = {
			CAL = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
				country_event = { id = USA_crisis_event.1135 days = 1 }
			}
		}
		USA = {
			country_event = {
				id = USA_crisis_event.1136
				days = 7
			}
			country_event = {
				id = USA_crisis_event.1137
				days = 3
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1135
	title = USA_crisis_event.1135.t
	desc = USA_crisis_event.1135.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = CAL }

	option = { # Defenses
		name = USA_crisis_event.1135.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1135.o1 executed"
		if = {
			limit = { has_tech = infantry_weapons_4 }
				add_equipment_to_stockpile = {
				type = infantry_weapons_2
				amount = 10000
				producer = CAL
			}
		}
		else_if = {
			limit = { has_tech = infantry_weapons_3 }
			add_equipment_to_stockpile = {
				type = infantry_weapons_1
				amount = 10000
				producer = CAL
			}
		}
		if = {
			limit = { has_template = "California Guard Brigade" }
			capital_scope = {
				create_unit = {
					division = "name = \"California Guard Brigade\" division_template = \"California Guard Brigade\" start_experience_factor = 1.5"
					owner = ROOT
					count = 20
				}
			}
		}
		else = {
			division_template = {
				name = "California Guard Brigade"
				support = {
					H_Engi_Comp = { x = 0 y = 0 }
					Mot_Recce_Comp = { x = 0 y = 1 }
					combat_service_support_company = { x = 0 y = 2 }
				}
				regiments = {
					L_Inf_Bat = { x = 0 y = 0 }
					L_Inf_Bat = { x = 1 y = 0 }
					L_Inf_Bat = { x = 2 y = 0 }
					L_Inf_Bat = { x = 1 y = 1 }
				}
				priority = 0
			}
			capital_scope = {
				create_unit = {
					division = "name = \"California Guard Brigade\" division_template = \"California Guard Brigade\" start_experience_factor = 1.5"
					owner = ROOT
					count = 20
				}
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1136
	title = USA_crisis_event.1136.t
	desc = USA_crisis_event.1136.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = { # Defenses
		name = USA_crisis_event.1136.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1136.o1 executed"
		declare_war_on = {
			target = CAL
			type = annex_everything
		}
	}
}

country_event = {
	id = USA_crisis_event.1137
	title = USA_crisis_event.1137.t
	desc = USA_crisis_event.1137.d
	picture = GFX_politics_anarchism
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		has_full_control_of_state = 778
		has_full_control_of_state = 779
		has_full_control_of_state = 780
	}

	immediate = {
		hidden_effect = {
			GLC = {
				inherit_technology = PREV
				transfer_state = 778
				add_state_core = 778
				transfer_state = 779
				add_state_core = 779
				transfer_state = 780
				add_state_core = 780
			}
		}
	}

	option = { # Defenses
		name = USA_crisis_event.1137.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1137.o1 executed"
		every_unit_leader = {
			limit = { has_trait = midwest_soldier }
			set_nationality = GLC
		}
		transfer_units_fraction = {
			target = GLC
			size = 0.02
			keep_unit_leaders_trigger = {
				OR = {
					has_trait = loyalist_soldier
					has_trait = california_soldier
					has_trait = new_yorker_soldier
					has_trait = great_plains_soldier
					has_trait = southern_soldier
					has_trait = rocky_mountain_soldier
					has_trait = puerto_rican_soldier
					has_trait = cascadian_soldier
					has_trait = texan_soldier
					has_trait = alaskan_soldier
					has_trait = pacific_islander_soldier
					has_trait = new_england_soldier
				}
			}
		}
		hidden_effect = {
			GLC = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
				country_event = { id = USA_crisis_event.1138 days = 1 }
			}
		}
		USA = {
			country_event = {
				id = USA_crisis_event.1139
				days = 7
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1138
	title = USA_crisis_event.1138.t
	desc = USA_crisis_event.1138.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = GLC }

	option = { # Defenses
		name = USA_crisis_event.1138.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1138.o1 executed"
		if = {
			limit = { has_tech = infantry_weapons_4 }
				add_equipment_to_stockpile = {
				type = infantry_weapons_2
				amount = 5000
				producer = GLC
			}
		}
		else_if = {
			limit = { has_tech = infantry_weapons_3 }
			add_equipment_to_stockpile = {
				type = infantry_weapons_1
				amount = 5000
				producer = GLC
			}
		}
		if = {
			limit = { has_template = "National Guard Brigade" }
			capital_scope = {
				create_unit = {
					division = "name = \"National Guard Brigade\" division_template = \"National Guard Brigade\" start_experience_factor = 1.5"
					owner = ROOT
					count = 10
				}
			}
		}
		else = {
			division_template = {
				name = "National Guard Brigade"
				support = {
					H_Engi_Comp = { x = 0 y = 0 }
					Mot_Recce_Comp = { x = 0 y = 1 }
					combat_service_support_company = { x = 0 y = 2 }
				}
				regiments = {
					L_Inf_Bat = { x = 0 y = 0 }
					L_Inf_Bat = { x = 1 y = 0 }
					L_Inf_Bat = { x = 2 y = 0 }
					L_Inf_Bat = { x = 3 y = 0 }
					L_Inf_Bat = { x = 1 y = 1 }
					L_Inf_Bat = { x = 2 y = 1 }
				}
				priority = 0
			}
			capital_scope = {
				create_unit = {
					division = "name = \"National Guard Brigade\" division_template = \"National Guard Brigade\" start_experience_factor = 1.5"
					owner = ROOT
					count = 10
				}
			}
		}
	}
}

country_event = {
	id = USA_crisis_event.1139
	title = USA_crisis_event.1139.t
	desc = USA_crisis_event.1139.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = { # Defenses
		name = USA_crisis_event.1139.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1139.o1 executed"
		declare_war_on = {
			target = GLC
			type = annex_everything
		}
		country_event = {
			id = USA_crisis_event.1140
			days = 7
		}
	}
}

country_event = {
	id = USA_crisis_event.1140
	title = USA_crisis_event.1140.t
	desc = USA_crisis_event.1140.d
	picture = GFX_politics_protest
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = { tag = USA }

	option = { # Defenses
		name = USA_crisis_event.1140.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1140.o1 executed"
		if = {
			limit = { has_tech = infantry_weapons_2 }
				add_equipment_to_stockpile = {
				type = infantry_weapons_2
				amount = 5000
				producer = USA
			}
		}
		else_if = {
			limit = { has_tech = infantry_weapons_3 }
			add_equipment_to_stockpile = {
				type = infantry_weapons_3
				amount = 5000
				producer = USA
			}
		}
		if = {
			limit = { has_tech = util_vehicle_3 }
				add_equipment_to_stockpile = {
				type = util_vehicle_3
				amount = 1000
				producer = USA
			}
		}
		else_if = {
			limit = { has_tech = util_vehicle_4 }
				add_equipment_to_stockpile = {
				type = util_vehicle_4
				amount = 1000
				producer = USA
			}
		}
		if = {
			limit = { has_template = "National Guard Regiment" }
			capital_scope = {
				create_unit = {
					division = "name = \"National Guard Regiment\" division_template = \"National Guard Regiment\" start_experience_factor = 1.5"
					owner = ROOT
					count = 50
				}
			}
		}
		else = {
			division_template = {
				name = "National Guard Regiment"
				support = {
					L_Engi_Comp = { x = 0 y = 0 }
					Mot_Recce_Comp = { x = 0 y = 1 }
				}
				regiments = {
					L_Inf_Bat = { x = 0 y = 0 }
					L_Inf_Bat = { x = 0 y = 1 }
					L_Inf_Bat = { x = 1 y = 0 }
					Mot_Inf_Bat = { x = 2 y = 0 }
				}
				priority = 0
			}
			capital_scope = {
				create_unit = {
					division = "name = \"National Guard Regiment\" division_template = \"National Guard Regiment\" start_experience_factor = 1.5"
					owner = ROOT
					count = 50
				}
			}
		}
	}
}

##### Flashpoint Event Status Quo #####
country_event = {
	id = USA_crisis_event.1207
	title = USA_crisis_event.1207.t
	desc = USA_crisis_event.1207.d
	picture = GFX_court
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { # Status Quo
		name = USA_crisis_event.1207.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1207.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.02 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.10 tooltip = drift_defence_factor_tt }
		swap_ideas = {
			remove_idea = USA_migrant_crisis_four
			add_idea = USA_migrant_crisis_five
		}
	}
}

##### Flashpoint Event Reformed Republic #####
country_event = {
	id = USA_crisis_event.1307
	title = USA_crisis_event.1307.t
	desc = USA_crisis_event.1307.d
	picture = GFX_political_activist
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { # Reformed Republic
		name = USA_crisis_event.1307.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1307.o1 executed"
		country_event = {
			id = USA_crisis_event.1308
			days = 30
		}
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.02 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.10 tooltip = drift_defence_factor_tt }
		swap_ideas = {
			remove_idea = USA_migrant_crisis_four
			add_idea = USA_migrant_crisis_five_a
		}
	}
}

country_event = {
	id = USA_crisis_event.1308
	title = USA_crisis_event.1308.t
	desc = USA_crisis_event.1308.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = { # Reformed Republic
		name = USA_crisis_event.1308.o1
		log = "[GetDateText]: [This.GetName]: USA_crisis_event.1308.o1 executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = -0.02 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.10 tooltip = drift_defence_factor_tt }
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_federal_budgets
		}
		add_to_variable = { federal_budget_police_cost = 0.10 tooltip = police_cost_multiplier_modifier_tt }
		swap_ideas = {
			remove_idea = USA_migrant_crisis_five_a
			add_idea = USA_migrant_crisis_six
		}
		hidden_effect = {
			set_country_flag = public_ignored1
			set_country_flag = public_ignored3
			set_country_flag = public_ignored5
			set_country_flag = anti_trust_awareness1
			set_country_flag = anti_trust_awareness2
			set_country_flag = anti_trust_awareness3
			set_country_flag = anti_trust_awareness4
		}
	}
}

##Foreign Policy Events
country_event = {
	id = USA_foreign_event.1
	title = USA_foreign_event.1.t
	desc = USA_foreign_event.1.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_supplying_our_sierra_leone } }

	option = { #We Appreciate The Help
		name = USA_foreign_event.1.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.1.o1 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.111
				days = 2
			}
		}
		SIE = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 1000
				Producer = USA
			}
			add_equipment_to_stockpile = {
				type = cnc_equipment_3
				amount = 100
				Producer = USA
			}
			add_equipment_to_stockpile = {
				type = util_vehicle_4
				amount = 50
				Producer = USA
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
		}
		ai_chance = {
			base = 20
		}
	}

	option = { #We Are Holding Just Fine
		name = USA_foreign_event.1.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.1.o2 executed"
		USA = {
				country_event = {
					id = USA_foreign_event.112
					days = 2
				}
			}
		effect_tooltip = {
			add_political_power = 50
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
		}
	}
}

country_event = {
	id = USA_foreign_event.111
	title = USA_foreign_event.111.t
	desc = USA_foreign_event.111.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Thanks For Your Business
		name = USA_foreign_event.111.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.111.o1 executed"
			set_temp_variable = { treasury_change = 5 }
			modify_treasury_effect = yes
			add_political_power = 50
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 2 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.112
	title = USA_foreign_event.112.t
	desc = USA_foreign_event.112.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Thanks For Your Business
		name = USA_foreign_event.112.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.112.o1 executed"
			add_political_power = -50
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.2
	title = USA_foreign_event.2.t
	desc = USA_foreign_event.2.d
	picture = GFX_american_troops
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_advising_sierra_leone } }

	option = { #We Thank You For The Knowledge
		name = USA_foreign_event.2.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.2.o1 executed"
		USA = {
				country_event = {
					id = USA_foreign_event.221
					days = 2
				}
			}
		SIE = {
			add_ideas = us_military_advisors_to_sierra_leone
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
		}
		ai_chance = {
			base = 20
		}
	}

	option = { #We Know The Land We Fight On
		name = USA_foreign_event.2.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.2.o2 executed"
		USA = {
				country_event = {
					id = USA_foreign_event.222
					days = 2
				}
			}
		effect_tooltip = {
			add_political_power = 50
			add_stability = 0.05
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
		}
	}
}

country_event = {
	id = USA_foreign_event.221
	title = USA_foreign_event.221.t
	desc = USA_foreign_event.221.d
	picture = GFX_american_troops
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Thanks For Your Business
		name = USA_foreign_event.221.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.221.o1 executed"
			add_political_power = 50
			army_experience = 10
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 2 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.222
	title = USA_foreign_event.222.t
	desc = USA_foreign_event.222.d
	picture = GFX_american_troops
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Thanks For Your Business
		name = USA_foreign_event.222.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.222.o1 executed"
			add_political_power = -50
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.3
	title = USA_foreign_event.3.t
	desc = USA_foreign_event.3.d
	picture = GFX_american_troops
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_muslim_legion } }

	option = {
		name = USA_foreign_event.3.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.3.o1 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.331
				days = 2
			}
		}
		AFG = {
			add_ideas = muslim_legion
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
		}
		ai_chance = { base = 20 }
	}

	option = {
		name = USA_foreign_event.3.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.3.o2 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.332
				days = 2
			}
		}
		effect_tooltip = {
			add_political_power = 50
			add_stability = 0.05
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
		}
	}
}

country_event = {
	id = USA_foreign_event.331
	title = USA_foreign_event.331.t
	desc = USA_foreign_event.331.d
	picture = GFX_american_troops
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Thanks For Your Business
		name = USA_foreign_event.331.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.331.o1 executed"
			add_political_power = 50
			army_experience = 15
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 2 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.332
	title = USA_foreign_event.332.t
	desc = USA_foreign_event.332.d
	picture = GFX_american_troops
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Thanks For Your Business
		name = USA_foreign_event.332.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.332.o1 executed"
			add_political_power = -50
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.4
	title = USA_foreign_event.4.t
	desc = USA_foreign_event.4.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_advising_the_legion } }

	option = {
		name = USA_foreign_event.4.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.4.o1 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.441
				days = 2
			}
		}
		AFG = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 2000
				Producer = USA
			}
			add_equipment_to_stockpile = {
				type = cnc_equipment_3
				amount = 100
				Producer = USA
			}
			add_equipment_to_stockpile = {
				type = util_vehicle_4
				amount = 50
				Producer = USA
			}
			add_equipment_to_stockpile = {
				type = Anti_tank_1
				amount = 50
				Producer = USA
			}
			set_temp_variable = { treasury_change = -4 }
			modify_treasury_effect = yes
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
		}
		ai_chance = { base = 20 }
	}

	option = {
		name = USA_foreign_event.4.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.4.o2 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.442
				days = 2
			}
		}
		effect_tooltip = {
			add_political_power = 50
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
		}
	}
}

country_event = {
	id = USA_foreign_event.441
	title = USA_foreign_event.441.t
	desc = USA_foreign_event.441.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.441.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.441.o1 executed"
			set_temp_variable = { treasury_change = 10 }
			modify_treasury_effect = yes
			add_political_power = 50
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 2 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.442
	title = USA_foreign_event.442.t
	desc = USA_foreign_event.442.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.442.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.442.o1 executed"
			add_political_power = -50
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.5
	title = USA_foreign_event.5.t
	desc = USA_foreign_event.5.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_supplying_democracy } }

	option = {
		name = USA_foreign_event.5.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.5.o1 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.551
				days = 2
			}
		}
		AFG = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 3000
				Producer = USA
			}
			add_equipment_to_stockpile = {
				type = util_vehicle_4
				amount = 1000
				Producer = USA
			}
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.07 }
			set_temp_variable = { temp_outlook_increase = 0.07 }
			change_relative_party_popularity = yes
		}
		ai_chance = { base = 20 }
	}

	option = {
		name = USA_foreign_event.5.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.5.o2 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.552
				days = 2
			}
		}
		effect_tooltip = {
			add_political_power = 50
			add_stability = -0.05
			add_war_support = 0.1
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.07 }
			set_temp_variable = { temp_outlook_increase = 0.07 }
			change_relative_party_popularity = yes
		}
	}
}

country_event = {
	id = USA_foreign_event.551
	title = USA_foreign_event.551.t
	desc = USA_foreign_event.551.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.551.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.551.o1 executed"
			set_temp_variable = { treasury_change = 15 }
			modify_treasury_effect = yes
			add_political_power = 50
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 2 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.552
	title = USA_foreign_event.552.t
	desc = USA_foreign_event.552.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.552.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.552.o1 executed"
			add_political_power = -50
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.6
	title = USA_foreign_event.6.t
	desc = USA_foreign_event.6.d
	picture = GFX_american_troops
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_modern_war_advisors } }

	option = {
		name = USA_foreign_event.6.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.6.o1 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.661
				days = 2
			}
		}
		AFG = {
			add_ideas = us_military_advisors_to_afghanistan
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.07 }
			set_temp_variable = { temp_outlook_increase = 0.07 }
			change_relative_party_popularity = yes
		}
		ai_chance = { base = 20 }
	}

	option = {
		name = USA_foreign_event.6.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.6.o2 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.662
				days = 2
			}
		}
		effect_tooltip = {
			add_political_power = 50
			add_stability = -0.05
			add_war_support = 0.1
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.07 }
			set_temp_variable = { temp_outlook_increase = 0.07 }
			change_relative_party_popularity = yes
		}
	}
}

country_event = {
	id = USA_foreign_event.661
	title = USA_foreign_event.661.t
	desc = USA_foreign_event.661.d
	picture = GFX_american_troops
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.661.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.661.o1 executed"
			add_political_power = 50
			army_experience = 15
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 2 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.662
	title = USA_foreign_event.662.t
	desc = USA_foreign_event.662.d
	picture = GFX_american_troops
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.662.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.662.o1 executed"
			add_political_power = -50
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.7
	title = USA_foreign_event.7.t
	desc = USA_foreign_event.7.d
	picture = GFX_burning_oil_refinery
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_oil_for_aid } }

	option = {
		name = USA_foreign_event.7.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.7.o1 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.771
				days = 2
			}
		}
		KUW = {
			set_temp_variable = { treasury_change = 25 }
			modify_treasury_effect = yes
			172 = {
				add_resource = {
					type = oil
					amount = 5
				}
			}
		}
		ai_chance = { base = 20 }
	}

	option = {
		name = USA_foreign_event.7.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.7.o2 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.772
				days = 2
			}
		}
		effect_tooltip = {
			add_political_power = 75
			add_stability = 0.1
			add_war_support = 0.1
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.1 }
			set_temp_variable = { temp_outlook_increase = 0.1 }
			change_relative_party_popularity = yes
		}
	}
}

country_event = {
	id = USA_foreign_event.771
	title = USA_foreign_event.771.t
	desc = USA_foreign_event.771.d
	picture = GFX_burning_oil_refinery
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.771.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.771.o1 executed"
			add_political_power = 100
			795 = {
				add_resource = {
					type = oil
					amount = 12
				}
				add_resource = {
					type = rubber
					amount = 4
				}
			}
			set_temp_variable = { treasury_change = -100 }
			modify_treasury_effect = yes
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 2 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.772
	title = USA_foreign_event.772.t
	desc = USA_foreign_event.772.d
	picture = GFX_burning_oil_refinery
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.772.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.772.o1 executed"
			add_political_power = -50
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.8
	title = USA_foreign_event.8.t
	desc = USA_foreign_event.8.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_every_man_a_tow } }

	option = {
		name = USA_foreign_event.8.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.8.o1 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.881
				days = 2
			}
		}
		KUW = {
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
			add_equipment_to_stockpile = {
				type = Anti_tank_2
				amount = 250
				producer = USA
			}
		}
		ai_chance = { base = 20 }
	}

	option = {
		name = USA_foreign_event.8.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.8.o2 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.882
				days = 2
			}
		}
		effect_tooltip = {
			add_political_power = 50
			add_stability = -0.05
			add_war_support = 0.1
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.07 }
			set_temp_variable = { temp_outlook_increase = 0.07 }
			change_relative_party_popularity = yes
		}
	}
}

country_event = {
	id = USA_foreign_event.881
	title = USA_foreign_event.881.t
	desc = USA_foreign_event.881.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.881.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.881.o1 executed"
			add_political_power = 100
			set_temp_variable = { treasury_change = 10 }
			modify_treasury_effect = yes
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 2 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.882
	title = USA_foreign_event.882.t
	desc = USA_foreign_event.882.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.882.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.882.o1 executed"
			add_political_power = -50
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.9
	title = USA_foreign_event.9.t
	desc = USA_foreign_event.9.d
	picture = GFX_burning_oil_refinery
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_political_oligarchs } }

	option = {
		name = USA_foreign_event.9.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.9.o1 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.991
				days = 2
			}
		}
		KUW = { add_ideas = USA_western_oligarchic_influence
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.07 }
			set_temp_variable = { temp_outlook_increase = 0.07 }
			change_relative_party_popularity = yes
		}
		ai_chance = { base = 20 }
	}

	option = {
		name = USA_foreign_event.9.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.9.o2 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.992
				days = 2
			}
		}
		effect_tooltip = {
			add_political_power = 50
			add_stability = -0.05
			add_war_support = 0.1
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.07 }
			set_temp_variable = { temp_outlook_increase = 0.07 }
			change_relative_party_popularity = yes
		}
	}
}

country_event = {
	id = USA_foreign_event.991
	title = USA_foreign_event.991.t
	desc = USA_foreign_event.991.d
	picture = GFX_burning_oil_refinery
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.991.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.991.o1 executed"
			add_political_power = 100
			add_ideas = USA_kuw_us_autocrats_in_kuwait
			set_temp_variable = { treasury_change = 10 }
			modify_treasury_effect = yes
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 2 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.992
	title = USA_foreign_event.992.t
	desc = USA_foreign_event.992.d
	picture = GFX_burning_oil_refinery
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.992.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.992.o1 executed"
			add_political_power = -50
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.10
	title = USA_foreign_event.10.t
	desc = USA_foreign_event.10.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_limited_supplies } }

	option = {
		name = USA_foreign_event.10.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.10.o1 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.10101
				days = 2
			}
		}
		KUW = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 1000
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = artillery_1
				amount = 100
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = util_vehicle_4
				amount = 300
				producer = USA
			}
		}
		ai_chance = { base = 20 }
	}

	option = {
		name = USA_foreign_event.10.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.10.o2 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.10102
				days = 2
			}
		}
		effect_tooltip = {
			add_political_power = 50
			add_stability = -0.05
			add_war_support = 0.1
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.07 }
			set_temp_variable = { temp_outlook_increase = 0.07 }
			change_relative_party_popularity = yes
		}
	}
}

country_event = {
	id = USA_foreign_event.10101
	title = USA_foreign_event.10101.t
	desc = USA_foreign_event.10101.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.10101.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.10101.o1 executed"
			add_political_power = 100
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 2 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.10102
	title = USA_foreign_event.10102.t
	desc = USA_foreign_event.10102.d
	picture = GFX_handgun
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.10102.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.10102.o1 executed"
			add_political_power = -50
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.11
	title = USA_foreign_event.11.t
	desc = USA_foreign_event.11.d
	picture = GFX_american_troops
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_increased_advisors } }

	option = {
		name = USA_foreign_event.11.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.11.o1 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.11111
				days = 2
			}
		}
		KUW = { add_ideas = USA_kuw_us_advisors
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.07 }
			set_temp_variable = { temp_outlook_increase = 0.07 }
			change_relative_party_popularity = yes
		}
		ai_chance = { base = 20 }
	}

	option = {
		name = USA_foreign_event.11.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.11.o2 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.11112
				days = 2
			}
		}
		effect_tooltip = {
			add_political_power = 50
			add_stability = -0.05
			add_war_support = 0.1
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.07 }
			set_temp_variable = { temp_outlook_increase = 0.07 }
			change_relative_party_popularity = yes
		}
	}
}

country_event = {
	id = USA_foreign_event.11111
	title = USA_foreign_event.11111.t
	desc = USA_foreign_event.11111.d
	picture = GFX_american_troops
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.11111.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.11111.o1 executed"
			add_political_power = 100
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 2 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.11112
	title = USA_foreign_event.11112.t
	desc = USA_foreign_event.11112.d
	picture = GFX_american_troops
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.11112.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.11112.o1 executed"
			add_political_power = -50
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.12
	title = USA_foreign_event.12.t
	desc = USA_foreign_event.12.d
	picture = GFX_american_troops
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_arab_legion } }

	option = {
		name = USA_foreign_event.12.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.12.o1 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.12121
				days = 2
			}
		}
		KUW = { add_ideas = USA_kuw_arab_legion
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.07 }
			set_temp_variable = { temp_outlook_increase = 0.07 }
			change_relative_party_popularity = yes
		}
		ai_chance = { base = 20 }
	}

	option = {
		name = USA_foreign_event.12.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.12.o2 executed"
		USA = {
			country_event = {
				id = USA_foreign_event.12122
				days = 2
			}
		}
		effect_tooltip = {
			add_political_power = 50
			add_stability = -0.05
			add_war_support = 0.1
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.07 }
			set_temp_variable = { temp_outlook_increase = 0.07 }
			change_relative_party_popularity = yes
		}
	}
}

country_event = {
	id = USA_foreign_event.12121
	title = USA_foreign_event.12121.t
	desc = USA_foreign_event.12121.d
	picture = GFX_american_troops
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.12121.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.12121.o1 executed"
			add_ideas = USA_us_arab_legion
			add_political_power = 100
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 2 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.12122
	title = USA_foreign_event.12122.t
	desc = USA_foreign_event.12122.d
	picture = GFX_american_troops
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = USA_foreign_event.12122.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.12122.o1 executed"
			add_political_power = -50
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.04 }
			set_temp_variable = { temp_outlook_increase = 0.04 }
			change_relative_party_popularity = yes
	}
}

country_event = {
	id = USA_foreign_event.13
	title = USA_foreign_event.13.t
	desc = USA_foreign_event.13.d
	picture = GFX_USA_generic
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_monetary_policy } }

	option = {
		name = USA_foreign_event.13.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.13.o1 executed"
		USA = {
			set_temp_variable = { treasury_change = 3 }
			modify_treasury_effect = yes
		}
		FSA = {
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 2000
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = cnc_equipment_3
				amount = 300
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = util_vehicle_4
				amount = 200
				producer = USA
			}
		}
		ai_chance = { base = 20 }
	}

	option = {
		name = USA_foreign_event.13.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.13.o2 executed"
		effect_tooltip = {
			add_political_power = 75
			add_stability = 0.1
			add_war_support = 0.1
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.1 }
			set_temp_variable = { temp_outlook_increase = 0.1 }
			change_relative_party_popularity = yes
		}
	}
}

country_event = {
	id = USA_foreign_event.14
	title = USA_foreign_event.14.t
	desc = USA_foreign_event.14.d
	picture = GFX_USA_generic
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_arms_to_the_highest_bidder } }

	option = {
		name = USA_foreign_event.14.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.14.o1 executed"
		USA = {
			set_temp_variable = { treasury_change = 10 }
			modify_treasury_effect = yes
		}
		FSA = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 1000
				producer = USA
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}
		ROJ = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 1000
				producer = USA
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}
		ISI = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 1000
				producer = USA
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}
		NUS = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 1000
				producer = USA
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}
		SYR = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 1000
				producer = USA
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}
		ai_chance = { base = 20 }
	}

	option = {
		name = USA_foreign_event.14.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.14.o2 executed"
		USA = {
			set_temp_variable = { treasury_change = 2 }
			modify_treasury_effect = yes
		}
		FSA = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 1000
				producer = USA
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}
	}

	option = {
		name = USA_foreign_event.14.o3
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.14.o3 executed"
		USA = {
			set_temp_variable = { treasury_change = 2 }
			modify_treasury_effect = yes
		}
		ROJ = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 1000
				producer = USA
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}
	}

	option = {
		name = USA_foreign_event.14.o4
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.14.o4 executed"
		USA = {
			set_temp_variable = { treasury_change = 2 }
			modify_treasury_effect = yes
		}
		ISI = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 1000
				producer = USA
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}
	}

	option = {
		name = USA_foreign_event.14.o5
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.14.o5 executed"
		USA = {
			set_temp_variable = { treasury_change = 2 }
			modify_treasury_effect = yes
		}
		NUS = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 1000
				producer = USA
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}
	}

	option = {
		name = USA_foreign_event.14.o6
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.14.o6 executed"
		USA = {
			set_temp_variable = { treasury_change = 2 }
			modify_treasury_effect = yes
		}
		SYR = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 1000
				producer = USA
			}
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}
	}
}

country_event = {
	id = USA_foreign_event.15
	title = USA_foreign_event.15.t
	desc = USA_foreign_event.15.d
	picture = GFX_USA_generic
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_foreign_aid } }

	option = {
		name = USA_foreign_event.15.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.15.o1 executed"
		USA = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = -1500
				producer = USA
			}
		}
		FSA = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 250
				producer = USA
			}
		}
		ROJ = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 250
				producer = USA
			}
		}
		ISI = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 500
				producer = USA
			}
		}
		NUS = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 250
				producer = USA
			}
		}
		SYR = {
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 250
				producer = USA
			}
		}
	}
}

country_event = {
	id = USA_foreign_event.16
	title = USA_foreign_event.16.t
	desc = USA_foreign_event.16.d
	picture = GFX_USA_generic
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_sending_advisors } }

	option = {
		name = USA_foreign_event.16.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.16.o1 executed"
		FSA = {
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
			add_manpower = 2000
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 2000
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = util_vehicle_4
				amount = 500
				producer = USA
			}
		}
		USA = {
			set_temp_variable = { treasury_change = 3 }
			modify_treasury_effect = yes
			add_manpower = -2000
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = -2000
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = util_vehicle_4
				amount = -500
				producer = USA
			}
		}
	}
}

country_event = {
	id = USA_foreign_event.17
	title = USA_foreign_event.17.t
	desc = USA_foreign_event.17.d
	picture = GFX_USA_generic
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_back_door_arms_dealing } }

	option = {
		name = USA_foreign_event.17.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.17.o1 executed"
		FSA = {
			set_temp_variable = { treasury_change = -5 }
			modify_treasury_effect = yes
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 2000
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = util_vehicle_4
				amount = 500
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = artillery_0
				amount = 500
				producer = USA
			}
		}
		USA = {
			set_temp_variable = { treasury_change = 5 }
			modify_treasury_effect = yes
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = -2000
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = util_vehicle_4
				amount = -500
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = artillery_0
				amount = -500
				producer = USA
			}
		}
		ai_chance = { base = 20 }
	}

	option = {
		name = USA_foreign_event.17.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.17.o2 executed"
		effect_tooltip = {
			add_political_power = 75
			add_stability = 0.1
			add_war_support = 0.1
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.1 }
			set_temp_variable = { temp_outlook_increase = 0.1 }
			change_relative_party_popularity = yes
		}
	}
}

country_event = {
	id = USA_foreign_event.18
	title = USA_foreign_event.18.t
	desc = USA_foreign_event.18.d
	picture = GFX_USA_generic
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_everyone_has_their_price } }

	option = {
		name = USA_foreign_event.18.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.18.o1 executed"
		FSA = {
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
			add_manpower = 5000
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 2000
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = util_vehicle_4
				amount = 500
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = cnc_equipment_3
				amount = 100
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = Anti_tank_2
				amount = 100
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = artillery_1
				amount = 100
				producer = USA
			}
		}
		USA = {
			set_temp_variable = { treasury_change = 10 }
			modify_treasury_effect = yes
		}
		ai_chance = { base = 20 }
	}

	option = {
		name = USA_foreign_event.18.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.18.o2 executed"
		effect_tooltip = {
			add_political_power = 75
			add_stability = 0.1
			add_war_support = 0.1
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.1 }
			set_temp_variable = { temp_outlook_increase = 0.1 }
			change_relative_party_popularity = yes
		}
	}
}

country_event = {
	id = USA_foreign_event.19
	title = USA_foreign_event.19.t
	desc = USA_foreign_event.19.d
	picture = GFX_USA_generic
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { USA = { has_completed_focus = USA_focus_forming_the_damascus_legion } }

	option = {
		name = USA_foreign_event.19.o1
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.19.o1 executed"
		FSA = {
			add_ideas = { USA_fsa_the_damascus_legion }
		}
		ai_chance = { base = 20 }
	}

	option = {
		name = USA_foreign_event.19.o2
		log = "[GetDateText]: [This.GetName]: USA_foreign_event.19.o2 executed"
		effect_tooltip = {
			add_political_power = 75
			add_stability = 0.1
			add_war_support = 0.1
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.1 }
			set_temp_variable = { temp_outlook_increase = 0.1 }
			change_relative_party_popularity = yes
		}
	}
}

country_event = {
	id = USA_monarchist_event.1
	title = USA_monarchist_event.1.t
	desc = USA_monarchist_event.1.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.1.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.1.o1 executed"
		add_war_support = 0.03
		CAN = {
			country_event = {
				id = USA_monarchist_event.2
				days = 1
			}
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.2
	title = USA_monarchist_event.2.t
	desc = USA_monarchist_event.2.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = CAN }

	option = {
		name = USA_monarchist_event.2.o1 #Canada Accepts
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.2.o1 executed"
		add_political_power = -100
		add_stability = 0.10
		add_war_support = -0.10
		USA = {
			country_event = {
				id = USA_monarchist_event.2000
				days = 1
			}
		}
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.45 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		ai_chance = {
			base = 1
			modifier = {
				has_opinion = { target = USA value > 25 }
				add = 30
			}
		}
	}

	option = {
		name = USA_monarchist_event.2.o2 # Canada Declines
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.2.o2 executed"
		add_political_power = 100
		add_stability = 0.10
		add_war_support = -0.10
		add_manpower = 50000
		USA = {
			country_event = {
				id = USA_monarchist_event.2001
				days = 1
			}
		}
		ai_chance = {
			base = 10
		}
	}
}

country_event = {
	id = USA_monarchist_event.2000
	title = USA_monarchist_event.2000.t
	desc = USA_monarchist_event.2000.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.2000.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.2000.o1 executed"
		add_political_power = 50
		add_stability = 0.03
		add_war_support = 0.05
		set_autonomy = {
			target = CAN
			autonomy_state = autonomy_puppet_state
		}
		CAN = {
			country_event = {
				id = USA_monarchist_event.20000
				days = 1
			}
		}
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.10 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_nationalist_drift = 0.01 tooltip = nationalist_drift_tt }
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.20000
	title = USA_monarchist_event.20000.t
	desc = USA_monarchist_event.20000.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = CAN }

	option = {
		name = USA_monarchist_event.20000.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.20000.o1 executed"
		set_cosmetic_tag = CAN_american_monarchist_subject
		set_variable = { dynamic_flag_variant = 8 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.2001
	title = USA_monarchist_event.2001.t
	desc = USA_monarchist_event.2001.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.2001.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.2001.o1 executed"
		add_political_power = -100
		add_stability = -0.03
		add_war_support = -0.05
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_drift_defense = -0.05 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_nationalist_drift = -0.02 tooltip = nationalist_drift_tt }
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.3
	title = USA_monarchist_event.3.t
	desc = USA_monarchist_event.3.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.3.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.3.o1 executed"
		add_war_support = 0.03
		MEX = {
			country_event = {
				id = USA_monarchist_event.4
				days = 1
			}
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.4
	title = USA_monarchist_event.4.t
	desc = USA_monarchist_event.4.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = MEX }

	option = {
		name = USA_monarchist_event.4.o1 #Mexico Accepts
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.4.o1 executed"
		add_political_power = -100
		add_stability = 0.10
		add_war_support = -0.10
		USA = {
			country_event = {
				id = USA_monarchist_event.4000
				days = 1
			}
		}
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.45 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		ai_chance = {
			base = 1
			modifier = {
				has_opinion = { target = USA value > 25 }
				add = 30
			}
		}
	}

	option = {
		name = USA_monarchist_event.4.o2 # Mexico Declines
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.4.o2 executed"
		add_political_power = 100
		add_stability = 0.10
		add_war_support = -0.10
		add_manpower = 50000
		USA = {
			country_event = {
				id = USA_monarchist_event.4001
				days = 1
			}
		}
		ai_chance = {
			base = 10
		}
	}
}

country_event = {
	id = USA_monarchist_event.4000
	title = USA_monarchist_event.4000.t
	desc = USA_monarchist_event.4000.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.4000.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.4000.o1 executed"
		add_political_power = 50
		add_stability = 0.03
		add_war_support = 0.05
		set_autonomy = {
			target = MEX
			autonomy_state = autonomy_puppet_state
		}
		MEX = {
			country_event = {
				id = USA_monarchist_event.40000
				days = 1
			}
		}
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.10 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_nationalist_drift = 0.01 tooltip = nationalist_drift_tt }
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.40000
	title = USA_monarchist_event.40000.t
	desc = USA_monarchist_event.40000.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = MEX }

	option = {
		name = USA_monarchist_event.40000.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.40000.o1 executed"
		set_cosmetic_tag = MEX_american_monarchist_subject
		set_variable = { dynamic_flag_variant = 8 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.4001
	title = USA_monarchist_event.4001.t
	desc = USA_monarchist_event.4001.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.4001.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.4001.o1 executed"
		add_political_power = -100
		add_stability = -0.03
		add_war_support = -0.05
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_drift_defense = -0.05 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_nationalist_drift = -0.02 tooltip = nationalist_drift_tt }
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.5
	title = USA_monarchist_event.5.t
	desc = USA_monarchist_event.5.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.5.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.5.o1 executed"
		add_war_support = 0.03
		CUB = {
			country_event = {
				id = USA_monarchist_event.6
				days = 1
			}
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.6
	title = USA_monarchist_event.6.t
	desc = USA_monarchist_event.6.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = CUB }

	option = {
		name = USA_monarchist_event.6.o1 #Cuba Accepts
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.6.o1 executed"
		add_political_power = -100
		add_stability = 0.10
		add_war_support = -0.10
		856 = { add_claim_by = CUB }
		858 = { add_claim_by = CUB }
		859 = { add_claim_by = CUB }
		860 = { add_claim_by = CUB }
		861 = { add_claim_by = CUB }
		862 = { add_claim_by = CUB }
		863 = { add_claim_by = CUB }
		867 = { add_claim_by = CUB }
		864 = { add_claim_by = CUB }
		865 = { add_claim_by = CUB }
		866 = { add_claim_by = CUB }
		868 = { add_claim_by = CUB }
		869 = { add_claim_by = CUB }
		add_ideas = USA_idea_monarchist_puppet_partner
		USA = {
			country_event = {
				id = USA_monarchist_event.6000
				days = 1
			}
		}
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.45 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		ai_chance = {
			base = 1
			modifier = {
				has_opinion = { target = USA value > 40 }
				add = 30
			}
		}
	}

	option = {
		name = USA_monarchist_event.6.o2 #Cuba Declines
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.6.o2 executed"
		add_political_power = 100
		add_stability = 0.10
		add_war_support = -0.10
		add_manpower = 50000
		USA = {
			country_event = {
				id = USA_monarchist_event.6001
				days = 1
			}
		}
		ai_chance = {
			base = 5
			modifier = {
				has_opinion = { target = USA value < 40 }
				add = 30
			}
		}
	}
}

country_event = {
	id = USA_monarchist_event.6000
	title = USA_monarchist_event.6000.t
	desc = USA_monarchist_event.6000.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.6000.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.6000.o1 executed"
		add_political_power = 50
		add_stability = 0.03
		add_war_support = 0.05
		set_autonomy = {
			target = CUB
			autonomy_state = autonomy_puppet_state
		}
		CUB = {
			country_event = {
				id = USA_monarchist_event.60000
				days = 1
			}
		}
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.10 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_nationalist_drift = 0.01 tooltip = nationalist_drift_tt }
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.60000
	title = USA_monarchist_event.60000.t
	desc = USA_monarchist_event.60000.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = CUB }

	option = {
		name = USA_monarchist_event.60000.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.60000.o1 executed"
		set_cosmetic_tag = CUB_american_monarchist_subject
		set_variable = { dynamic_flag_variant = 8 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.6001
	title = USA_monarchist_event.6001.t
	desc = USA_monarchist_event.6001.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.6001.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.6001.o1 executed"
		add_political_power = -100
		add_stability = -0.03
		add_war_support = -0.05
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_drift_defense = -0.05 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_nationalist_drift = -0.02 tooltip = nationalist_drift_tt }
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.7
	title = USA_monarchist_event.7.t
	desc = USA_monarchist_event.7.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.7.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.7.o1 executed"
		add_war_support = 0.03
		PAN = {
			country_event = {
				id = USA_monarchist_event.8
				days = 1
			}
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.8
	title = USA_monarchist_event.8.t
	desc = USA_monarchist_event.8.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = PAN }

	option = {
		name = USA_monarchist_event.8.o1 #Panama Accepts
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.8.o1 executed"
		add_political_power = -100
		add_stability = 0.10
		add_war_support = -0.10
		850 = { add_claim_by = PAN }
		851 = { add_claim_by = PAN }
		849 = { add_claim_by = PAN }
		848 = { add_claim_by = PAN }
		847 = { add_claim_by = PAN }
		846 = { add_claim_by = PAN }
		845 = { add_claim_by = PAN }
		844 = { add_claim_by = PAN }
		843 = { add_claim_by = PAN }
		842 = { add_claim_by = PAN }
		841 = { add_claim_by = PAN }
		add_ideas = USA_idea_monarchist_puppet_partner
		USA = {
			country_event = {
				id = USA_monarchist_event.8000
				days = 1
			}
		}
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.45 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		ai_chance = {
			base = 1
			modifier = {
				has_opinion = { target = USA value > 25 }
				add = 30
			}
		}
	}

	option = {
		name = USA_monarchist_event.8.o2 #Panama Declines
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.8.o2 executed"
		add_political_power = 100
		add_stability = 0.10
		add_war_support = -0.10
		add_manpower = 50000
		USA = {
			country_event = {
				id = USA_monarchist_event.8001
				days = 1
			}
		}
		ai_chance = {
			base = 5
			modifier = {
				has_opinion = { target = USA value < 25 }
				add = 30
			}
		}
	}
}

country_event = {
	id = USA_monarchist_event.8000
	title = USA_monarchist_event.8000.t
	desc = USA_monarchist_event.8000.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.8000.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.8000.o1 executed"
		add_political_power = 50
		add_stability = 0.03
		add_war_support = 0.05
		set_autonomy = {
			target = PAN
			autonomy_state = autonomy_puppet_state
		}
		PAN = {
			country_event = {
				id = USA_monarchist_event.80000
				days = 1
			}
		}
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.10 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_nationalist_drift = 0.01 tooltip = nationalist_drift_tt }
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.80000
	title = USA_monarchist_event.80000.t
	desc = USA_monarchist_event.80000.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = PAN }

	option = {
		name = USA_monarchist_event.80000.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.80000.o1 executed"
		set_cosmetic_tag = PAN_american_monarchist_subject
		set_variable = { dynamic_flag_variant = 8 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.8001
	title = USA_monarchist_event.8001.t
	desc = USA_monarchist_event.8001.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.8001.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.8001.o1 executed"
		add_political_power = -100
		add_stability = -0.03
		add_war_support = -0.05
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_drift_defense = -0.05 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_nationalist_drift = -0.02 tooltip = nationalist_drift_tt }
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.9
	title = USA_monarchist_event.9.t
	desc = USA_monarchist_event.9.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.9.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.9.o1 executed"
		add_war_support = 0.03
		COL = {
			country_event = {
				id = USA_monarchist_event.10
				days = 1
			}
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.10
	title = USA_monarchist_event.10.t
	desc = USA_monarchist_event.10.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = COL }

	option = {
		name = USA_monarchist_event.10.o1 #Columbia Accepts
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.10.o1 executed"
		add_political_power = -100
		add_stability = 0.10
		add_war_support = -0.10
		1006 = { add_claim_by = COL }
		878 = { add_claim_by = COL }
		877 = { add_claim_by = COL }
		1005 = { add_claim_by = COL }
		876 = { add_claim_by = COL }
		917 = { add_claim_by = COL }
		916 = { add_claim_by = COL }
		875 = { add_claim_by = COL }
		915 = { add_claim_by = COL }
		874 = { add_claim_by = COL }
		905 = { add_claim_by = COL }
		906 = { add_claim_by = COL }
		907 = { add_claim_by = COL }
		900 = { add_claim_by = COL }
		901 = { add_claim_by = COL }
		902 = { add_claim_by = COL }
		903 = { add_claim_by = COL }
		904 = { add_claim_by = COL }
		908 = { add_claim_by = COL }
		add_ideas = USA_idea_monarchist_puppet_partner
		USA = {
			country_event = {
				id = USA_monarchist_event.10000
				days = 1
			}
		}
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.45 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		ai_chance = {
			base = 1
			modifier = {
				has_opinion = { target = USA value > 25 }
				add = 30
			}
		}
	}

	option = {
		name = USA_monarchist_event.10.o2 #Columbia Declines
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.10.o2 executed"
		add_political_power = 100
		add_stability = 0.10
		add_war_support = -0.10
		add_manpower = 50000
		USA = {
			country_event = {
				id = USA_monarchist_event.10001
				days = 1
			}
		}
		ai_chance = {
			base = 5
			modifier = {
				has_opinion = { target = USA value < 25 }
				add = 30
			}
		}
	}
}

country_event = {
	id = USA_monarchist_event.10000
	title = USA_monarchist_event.10000.t
	desc = USA_monarchist_event.10000.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.10000.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.10000.o1 executed"
		add_political_power = 50
		add_stability = 0.03
		add_war_support = 0.05
		set_autonomy = {
			target = COL
			autonomy_state = autonomy_puppet_state
		}
		COL = {
			country_event = {
				id = USA_monarchist_event.100000
				days = 1
			}
		}
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.10 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_nationalist_drift = 0.01 tooltip = nationalist_drift_tt }
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.100000
	title = USA_monarchist_event.100000.t
	desc = USA_monarchist_event.100000.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = COL }

	option = {
		name = USA_monarchist_event.100000.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.100000.o1 executed"
		set_cosmetic_tag = COL_american_monarchist_subject
		set_variable = { dynamic_flag_variant = 8 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.10001
	title = USA_monarchist_event.10001.t
	desc = USA_monarchist_event.10001.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.10001.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.10001.o1 executed"
		add_political_power = -100
		add_stability = -0.03
		add_war_support = -0.05
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_drift_defense = -0.05 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_nationalist_drift = -0.02 tooltip = nationalist_drift_tt }
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.11
	title = USA_monarchist_event.11.t
	desc = USA_monarchist_event.11.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.11.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.11.o1 executed"
		add_war_support = 0.03
		BRA = {
			country_event = {
				id = USA_monarchist_event.12
				days = 1
			}
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.12
	title = USA_monarchist_event.12.t
	desc = USA_monarchist_event.12.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = BRA }

	option = {
		name = USA_monarchist_event.12.o1 #Brazil Accepts
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.12.o1 executed"
		add_political_power = -100
		add_stability = 0.10
		add_war_support = -0.10
		898 = { add_claim_by = BRA }
		899 = { add_claim_by = BRA }
		897 = { add_claim_by = BRA }
		896 = { add_claim_by = BRA }
		895 = { add_claim_by = BRA }
		894 = { add_claim_by = BRA }
		893 = { add_claim_by = BRA }
		448 = { add_claim_by = BRA }
		449 = { add_claim_by = BRA }
		450 = { add_claim_by = BRA }
		446 = { add_claim_by = BRA }
		443 = { add_claim_by = BRA }
		453 = { add_claim_by = BRA }
		454 = { add_claim_by = BRA }
		457 = { add_claim_by = BRA }
		950 = { add_claim_by = BRA }
		949 = { add_claim_by = BRA }
		972 = { add_claim_by = BRA }
		468 = { add_claim_by = BRA }
		463 = { add_claim_by = BRA }
		add_ideas = USA_idea_monarchist_puppet_partner
		USA = {
			country_event = {
				id = USA_monarchist_event.12000
				days = 1
			}
		}
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.45 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		ai_chance = {
			base = 1
			modifier = {
				has_opinion = { target = USA value > 25 }
				add = 30
			}
		}
	}

	option = {
		name = USA_monarchist_event.12.o2 #Brazil Declines
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.12.o2 executed"
		add_political_power = 100
		add_stability = 0.10
		add_war_support = -0.10
		add_manpower = 50000
		USA = {
			country_event = {
				id = USA_monarchist_event.12001
				days = 1
			}
		}
		ai_chance = {
			base = 5
			modifier = {
				has_opinion = { target = USA value < 25 }
				add = 30
			}
		}
	}
}

country_event = {
	id = USA_monarchist_event.12000
	title = USA_monarchist_event.12000.t
	desc = USA_monarchist_event.12000.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.12000.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.12000.o1 executed"
		add_political_power = 50
		add_stability = 0.03
		add_war_support = 0.05
		set_autonomy = {
			target = BRA
			autonomy_state = autonomy_puppet_state
		}
		BRA = {
			country_event = {
				id = USA_monarchist_event.120000
				days = 1
			}
		}
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_political_power_gain = 0.03 tooltip = political_power_factor_tt }
		add_to_variable = { domestic_drift_defense = -0.10 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_nationalist_drift = 0.01 tooltip = nationalist_drift_tt }
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.120000
	title = USA_monarchist_event.120000.t
	desc = USA_monarchist_event.120000.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = BRA }

	option = {
		name = USA_monarchist_event.120000.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.120000.o1 executed"
		set_cosmetic_tag = BRA_american_monarchist_subject
		set_variable = { dynamic_flag_variant = 8 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.12001
	title = USA_monarchist_event.12001.t
	desc = USA_monarchist_event.12001.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = USA }

	option = {
		name = USA_monarchist_event.12001.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.12001.o1 executed"
		add_political_power = -100
		add_stability = -0.03
		add_war_support = -0.05
		newline = yes
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = USA_domestic_policies
		}
		add_to_variable = { domestic_drift_defense = -0.05 tooltip = drift_defence_factor_tt }
		add_to_variable = { domestic_nationalist_drift = -0.02 tooltip = nationalist_drift_tt }
		newline = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.13
	title = USA_monarchist_event.13.t
	desc = USA_monarchist_event.13.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = CUB }

	option = {
		name = USA_monarchist_event.13.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.13.o1 executed"
		set_temp_variable = { wargoal_on = BAH }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = BAH
			type = annex_everything
		}
		set_temp_variable = { wargoal_on = JAM }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = JAM
			type = annex_everything
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.14
	title = USA_monarchist_event.14.t
	desc = USA_monarchist_event.14.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = PAN }

	option = {
		name = USA_monarchist_event.14.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.14.o1 executed"
		set_temp_variable = { wargoal_on = COS }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = COS
			type = annex_everything
		}
		set_temp_variable = { wargoal_on = NIC }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = NIC
			type = annex_everything
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.15
	title = USA_monarchist_event.15.t
	desc = USA_monarchist_event.15.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = COL }

	option = {
		name = USA_monarchist_event.15.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.15.o1 executed"
		set_temp_variable = { wargoal_on = VEN }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = VEN
			type = annex_everything
		}
		set_temp_variable = { wargoal_on = GUY }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = GUY
			type = annex_everything
		}
		set_temp_variable = { wargoal_on = SUR }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = SUR
			type = annex_everything
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.16
	title = USA_monarchist_event.16.t
	desc = USA_monarchist_event.16.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = BRA }

	option = {
		name = USA_monarchist_event.16.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.16.o1 executed"
		set_temp_variable = { wargoal_on = URG }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = URG
			type = annex_everything
		}
		set_temp_variable = { wargoal_on = PAR }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = PAR
			type = annex_everything
		}
		set_temp_variable = { wargoal_on = BOL }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = BOL
			type = annex_everything
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.17
	title = USA_monarchist_event.17.t
	desc = USA_monarchist_event.17.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = CUB }

	option = {
		name = USA_monarchist_event.17.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.17.o1 executed"
		add_ideas = USA_idea_hemispheric_economic_program
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.18
	title = USA_monarchist_event.18.t
	desc = USA_monarchist_event.18.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = PAN }

	option = {
		name = USA_monarchist_event.18.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.18.o1 executed"
		add_ideas = USA_idea_hemispheric_economic_program
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.19
	title = USA_monarchist_event.19.t
	desc = USA_monarchist_event.19.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = COL }

	option = {
		name = USA_monarchist_event.19.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.19.o1 executed"
		add_ideas = USA_idea_hemispheric_economic_program
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.20
	title = USA_monarchist_event.20.t
	desc = USA_monarchist_event.20.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = BRA }

	option = {
		name = USA_monarchist_event.20.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.20.o1 executed"
		add_ideas = USA_idea_hemispheric_economic_program
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.21
	title = USA_monarchist_event.21.t
	desc = USA_monarchist_event.21.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = CUB }

	option = {
		name = USA_monarchist_event.21.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.21.o1 executed"
		add_ideas = USA_idea_public_unity_programs
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.22
	title = USA_monarchist_event.22.t
	desc = USA_monarchist_event.22.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = PAN }

	option = {
		name = USA_monarchist_event.22.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.22.o1 executed"
		add_ideas = USA_idea_public_unity_programs
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.23
	title = USA_monarchist_event.23.t
	desc = USA_monarchist_event.23.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = COL }

	option = {
		name = USA_monarchist_event.23.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.23.o1 executed"
		add_ideas = USA_idea_public_unity_programs
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.24
	title = USA_monarchist_event.24.t
	desc = USA_monarchist_event.24.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = BRA }

	option = {
		name = USA_monarchist_event.24.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.24.o1 executed"
		add_ideas = USA_idea_public_unity_programs
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.25
	title = USA_monarchist_event.25.t
	desc = USA_monarchist_event.25.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = CUB }

	option = {
		name = USA_monarchist_event.25.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.25.o1 executed"
		set_temp_variable = { wargoal_on = HAI }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = HAI
			type = annex_everything
		}
		set_temp_variable = { wargoal_on = DOM }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = DOM
			type = annex_everything
		}
		set_temp_variable = { wargoal_on = TRI }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = TRI
			type = annex_everything
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.26
	title = USA_monarchist_event.26.t
	desc = USA_monarchist_event.26.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = PAN }

	option = {
		name = USA_monarchist_event.26.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.26.o1 executed"
		set_temp_variable = { wargoal_on = HON }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = HON
			type = annex_everything
		}
		set_temp_variable = { wargoal_on = ELS }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = ELS
			type = annex_everything
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.27
	title = USA_monarchist_event.27.t
	desc = USA_monarchist_event.27.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = COL }

	option = {
		name = USA_monarchist_event.27.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.27.o1 executed"
		set_temp_variable = { wargoal_on = ECU }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = ECU
			type = annex_everything
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.28
	title = USA_monarchist_event.28.t
	desc = USA_monarchist_event.28.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = BRA }

	option = {
		name = USA_monarchist_event.28.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.28.o1 executed"
		set_temp_variable = { wargoal_on = ARG }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = ARG
			type = annex_everything
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.29
	title = USA_monarchist_event.29.t
	desc = USA_monarchist_event.29.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = CUB }

	option = {
		name = USA_monarchist_event.29.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.29.o1 executed"
		set_temp_variable = { wargoal_on = ANT }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = ANT
			type = annex_everything
		}
		set_temp_variable = { wargoal_on = STK }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = STK
			type = annex_everything
		}
		set_temp_variable = { wargoal_on = DMI }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = DMI
			type = annex_everything
		}
		set_temp_variable = { wargoal_on = STL }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = STL
			type = annex_everything
		}
		set_temp_variable = { wargoal_on = STV }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = STV
			type = annex_everything
		}
		set_temp_variable = { wargoal_on = BAR }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = BAR
			type = annex_everything
		}
		set_temp_variable = { wargoal_on = GRA }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = GRA
			type = annex_everything
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.30
	title = USA_monarchist_event.30.t
	desc = USA_monarchist_event.30.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = PAN }

	option = {
		name = USA_monarchist_event.30.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.30.o1 executed"
		set_temp_variable = { wargoal_on = BLZ }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = BLZ
			type = annex_everything
		}
		set_temp_variable = { wargoal_on = GUA }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = GUA
			type = annex_everything
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.31
	title = USA_monarchist_event.31.t
	desc = USA_monarchist_event.31.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = COL }

	option = {
		name = USA_monarchist_event.31.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.31.o1 executed"
		set_temp_variable = { wargoal_on = PRU }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = PRU
			type = annex_everything
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.32
	title = USA_monarchist_event.32.t
	desc = USA_monarchist_event.32.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = BRA }

	option = {
		name = USA_monarchist_event.32.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.32.o1 executed"
		set_temp_variable = { wargoal_on = CHL }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = CHL
			type = annex_everything
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.33
	title = USA_monarchist_event.33.t
	desc = USA_monarchist_event.33.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = CUB }

	option = {
		name = USA_monarchist_event.33.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.33.o1 executed"
		swap_ideas = {
			remove_idea = USA_idea_hemispheric_economic_program
			add_idea = USA_idea_the_new_world_economic_exchange
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.34
	title = USA_monarchist_event.34.t
	desc = USA_monarchist_event.34.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = PAN }

	option = {
		name = USA_monarchist_event.34.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.34.o1 executed"
		swap_ideas = {
			remove_idea = USA_idea_hemispheric_economic_program
			add_idea = USA_idea_the_new_world_economic_exchange
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.35
	title = USA_monarchist_event.35.t
	desc = USA_monarchist_event.35.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = COL }

	option = {
		name = USA_monarchist_event.35.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.35.o1 executed"
		swap_ideas = {
			remove_idea = USA_idea_hemispheric_economic_program
			add_idea = USA_idea_the_new_world_economic_exchange
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = USA_monarchist_event.36
	title = USA_monarchist_event.36.t
	desc = USA_monarchist_event.36.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { original_tag = BRA }

	option = {
		name = USA_monarchist_event.36.o1
		log = "[GetDateText]: [This.GetName]: USA_monarchist_event.36.o1 executed"
		swap_ideas = {
			remove_idea = USA_idea_hemispheric_economic_program
			add_idea = USA_idea_the_new_world_economic_exchange
		}
		ai_chance = { base = 20 }
	}
}

# USS Cole News Event
news_event = {
	id = usa_news.18
	title = usa_news.18.t
	desc = usa_news.18.d
	picture = GFX_cole_attack
	is_triggered_only = yes
	major = yes

	option = {
		name = usa_news.18.o1
		trigger = { original_tag = USA }
	}

	option = {
		name = usa_news.18.o2
		trigger = {
			NOT = { original_tag = USA }
			NOT = { original_tag = NKO }
			NOT = { original_tag = SUD }
			NOT = { has_war_with = USA }
		}
	}

	option = {
		name = usa_news.18.o3
		trigger = {
			OR = {
				original_tag = NKO
				has_war_with = USA
			}
		}
	}

	option = {
		name = usa_news.18.o4
		trigger = { original_tag = SUD }
		effect_tooltip = {
			USA = {
				add_opinion_modifier = {
					target = SUD
					modifier = recent_actions_negative
				}
			}
		}
		log = "[GetDateText]: [This.GetName]: usa_news.18.o4 executed"
	}
}

country_event = {
	id = usa.80
	title = usa.80.t
	desc = usa.80.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_dlc = "By Blood Alone"
	}

	# Good Idea!
	option = {
		name = usa.80.o1
		log = "[GetDateText]: [This.GetName]: usa.80.o1 executed"
		custom_effect_tooltip = USA_unlock_f35_decision_TT
		newline = yes
		set_temp_variable = {
			treasury_change = {
				value = gdp_total
				multiply = -0.03
			}
		}
		modify_treasury_effect = yes
		set_country_flag = USA_accepted_into_f35_program
		USA = {
			add_to_variable = { var = USA_f35_progress value = 10 }
			clamp_variable = { var = USA_f35_progress min = 0 max = 100 }
		}
		ai_chance = { base = 1 }
	}

	option = {
		name = usa.80.o2
		ai_chance = {
			base = 0
			modifier = {
				has_country_leader = { name = "Bernie Sanders" ruling_only = yes }
				add = 10
			}
		}
	}

	# Forget It
}

country_event = {
	id = usa.81
	title = usa.81.t
	desc = usa.81.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	trigger = { NOT = { has_country_flag = collapsed_nation } }

	option = {
		name = usa.81.o1
		log = "[GetDateText]: [This.GetName]: usa.81.o1 executed"
		custom_effect_tooltip = USA_increase_funding_by_1
		set_temp_variable = {
			treasury_change = {
				value = gdp_total
				multiply = -0.01
			}
		}
		USA = {
			add_to_variable = { var = USA_f35_progress value = 1 }
			clamp_variable = { var = USA_f35_progress min = 0 max = 100 }
		}
		ROOT = {
			add_to_variable = { var = F35_contribution value = 1 }
			clamp_variable = { var = F35_contribution min = 0 max = 100 }
		}
		modify_treasury_effect = yes
		ai_chance = { base = 1 }
	}

	option = {
		name = usa.81.o2
		log = "[GetDateText]: [This.GetName]: usa.81.o2 executed"
		custom_effect_tooltip = USA_increase_funding_by_3
		set_temp_variable = {
			treasury_change = {
				value = gdp_total
				multiply = -0.015
			}
		}
		modify_treasury_effect = yes
		USA = {
			add_to_variable = { var = USA_f35_progress value = 3 }
			clamp_variable = { var = USA_f35_progress min = 0 max = 100 }
		}
		ROOT = {
			add_to_variable = { var = F35_contribution value = 2 }
			clamp_variable = { var = F35_contribution min = 0 max = 100 }
		}
		ai_chance = { base = 1 }
	}

	option = {
		name = usa.81.o3
		log = "[GetDateText]: [This.GetName]: usa.81.o3 executed"
		custom_effect_tooltip = USA_increase_funding_by_5
		set_temp_variable = {
			treasury_change = {
				value = gdp_total
				multiply = -0.02
			}
		}
		USA = {
			add_to_variable = { var = USA_f35_progress value = 5 }
			clamp_variable = { var = USA_f35_progress min = 0 max = 100 }
		}
		modify_treasury_effect = yes
		ROOT = {
			add_to_variable = { var = F35_contribution value = 3 }
			clamp_variable = { var = F35_contribution min = 0 max = 100 }
		}
		ai_chance = { base = 2 }
	}
}

country_event = {
	id = usa.82
	title = usa.82.t
	desc = usa.82.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	trigger = {
		tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = usa.82.o1
		log = "[GetDateText]: [This.GetName]: usa.82.o1 executed"
		set_country_flag = USA_open_f35_program_nato
		for_each_scope_loop = {
			array = global.nato_members
			tooltip = TT_ALL_NATO_MEMBER_NATIONS_GAIN
			if = {
				limit = { NOT = { original_tag = USA } }
				country_event = {
					id = usa.83
					days = 2
				}
			}
		}
		ai_chance = { base = 1 }
	}

	option = {
		name = usa.82.o2
		log = "[GetDateText]: [This.GetName]: usa.82.o2 executed"
		set_country_flag = USA_open_f35_program_allies
		for_each_scope_loop = {
			array = global.nato_members
			tooltip = TT_ALL_NATO_MEMBER_NATIONS_GAIN
			if = {
				limit = {
					NOT = { has_idea = Major_Non_NATO_Ally }
					NOT = { original_tag = USA }
				}
				country_event = {
					id = usa.83
					days = 2
				}
			}
		}
		every_country = {
			limit = { has_idea = Major_Non_NATO_Ally }
			country_event = {
				id = usa.83
				days = 2
			}
		}
		ai_chance = { base = 100 }
	}

	option = {
		name = usa.82.o3
		log = "[GetDateText]: [This.GetName]: usa.82.o3 executed"
		set_country_flag = USA_open_f35_program_world
		for_each_scope_loop = {
			array = global.nato_members
			tooltip = TT_ALL_NATO_MEMBER_NATIONS_GAIN
			if = {
				limit = {
					NOT = { has_idea = Major_Non_NATO_Ally }
					NOT = { original_tag = USA }
				}
				country_event = {
					id = usa.93
					days = 2
				}
			}
		}
		every_country = {
			limit = { has_idea = Major_Non_NATO_Ally }
			country_event = {
				id = usa.93
				days = 2
			}
		}
		custom_effect_tooltip = USA_f35_apply_TT
		ai_chance = { base = 0 }
	}
}

country_event = {
	id = usa.83
	title = usa.83.t
	desc = usa.83.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	trigger = {
		NOT = { original_tag = USA }
		# Don't invite nations the US would immediately eject
		NOT = { USA_f35_kick_candidate = yes }
	}

	option = {
		name = usa.83.o1
		log = "[GetDateText]: [This.GetName]: usa.83.o1 executed"
		custom_effect_tooltip = USA_unlock_f35_decision_TT
		set_temp_variable = { percent_change = 3 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = ROOT }
		change_influence_percentage = yes
		add_to_array = { global.f35_members = THIS.id }
		set_country_flag = USA_accepted_into_f35_program
		set_country_flag = { flag = USA_f35_recently_joined value = 1 days = 180 }
		if = {
			limit = { USA = { has_country_flag = USA_f35_designed } }
			set_country_flag = USA_f35_program_member_new
		}
		else = { set_country_flag = USA_f35_legacy_members }
		ai_chance = { base = 10 }
	}

	option = {
		name = usa.83.o2
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = usa.84
	title = usa.84.t
	desc = usa.84.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	option = {
		name = usa.84.o1
		log = "[GetDateText]: [This.GetName]: usa.84.o1 executed"
		if = {
			limit = {
				NOT = {
					has_tech = gen_5_light
				}
			}
			set_technology = { gen_5_light = 1 }
		}
		if = {
			limit = {
				NOT = {
					has_tech = avionics_3
				}
			}
			set_technology = { avionics_3 = 1 }
		}
		if = {
			limit = {
				NOT = {
					has_tech = countermeasures_3
				}
			}
			set_technology = { countermeasures_3 = 1 }
		}
		# F-35A
		create_equipment_variant = {
			name = "F-35A Lightning II"
			type = small_plane_strike_airframe_3
			parent_version = 1
			modules = {
				fixed_main_weapon_slot = weap_int_mp_med_hardpoint_2
				fixed_gun_slot = weap_multi_gun_3
				engine_type_slot = engine_light_single_3
				avionics_type_slot = avionics_manned_4
				wingform_type_slot = wing_diamond
				special_slot_type_1 = spec_countermeasures_3
				special_slot_type_2 = spec_stealthmats_1
				special_slot_type_3 = spec_stealthshape_1
				special_slot_type_4 = empty
				fixed_auxiliary_weapon_slot_1 = weap_int_a2a_hardpoint_1
			}
			upgrades = {
				plane_bba_radar_upgrade = 5
				plane_bba_engine_upgrade = 4
			}
			icon = "gfx/interface/technologies/USA/AIR/MR4.dds"
			model = "USA_MR_Fighter4_entity"
			design_team = mio:USA_lockheed_martin_aircraft_manufacturer
		}
		# F-35B
		create_equipment_variant = {
			name = "F-35B Lightning II"
			type = cv_small_plane_strike_airframe_3
			parent_version = 1
			modules = {
				fixed_main_weapon_slot = weap_int_mp_med_hardpoint_2
				fixed_gun_slot = weap_multi_gun_3
				engine_type_slot = engine_light_single_3
				avionics_type_slot = avionics_manned_4
				wingform_type_slot = wing_diamond
				special_slot_type_1 = spec_countermeasures_3
				special_slot_type_2 = spec_stealthmats_1
				special_slot_type_3 = spec_stealthshape_1
				special_slot_type_4 = spec_thrust_vector_1
				fixed_auxiliary_weapon_slot_1 = weap_int_a2a_hardpoint_1
			}
			upgrades = {
				plane_bba_radar_upgrade = 4
				plane_bba_engine_upgrade = 4
			}
			icon = "gfx/interface/technologies/USA/AIR/MR5.dds"
			model = "USA_cv_small_plane_strike_airframe_3_entity"
			design_team = mio:USA_lockheed_martin_aircraft_manufacturer
		}
		# F-35C
		create_equipment_variant = {
			name = "F-35C Lightning II"
			type = cv_small_plane_strike_airframe_3
			parent_version = 1
			modules = {
				fixed_main_weapon_slot = weap_int_mp_med_hardpoint_2
				fixed_gun_slot = weap_multi_gun_3
				engine_type_slot = engine_light_single_3
				avionics_type_slot = avionics_manned_4
				wingform_type_slot = wing_diamond
				special_slot_type_1 = spec_countermeasures_3
				special_slot_type_2 = spec_stealthmats_1
				special_slot_type_3 = spec_stealthshape_1
				special_slot_type_4 = empty
				fixed_auxiliary_weapon_slot_1 = weap_int_a2a_hardpoint_1
			}
			upgrades = {
				plane_bba_radar_upgrade = 4
				plane_bba_engine_upgrade = 4
			}
			icon = "gfx/interface/technologies/USA/AIR/LSTRCV2.dds"
			model = "USA_CV_MR_Fighter4_entity"
			design_team = mio:USA_lockheed_martin_aircraft_manufacturer
		}
		set_country_flag = USA_f35_designed
		hidden_effect = {
			if = {
				limit = { country_exists = HOL }
				if = {
					limit = { HOL = { has_completed_focus = HOL_join_jsf } }
					country_event = {
						id = HOL_military.033
						days = 1
					}
				}
				if = {
					limit = { HOL = { has_completed_focus = HOL_f35c_development } }
					country_event = {
						id = HOL_military.034
						days = 1
					}
				}
			}
		}
		ai_chance = {
			base = 10
		}
	}
}

country_event = {
	id = usa.85
	title = usa.85.t
	desc = usa.85.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	option = {
		name = usa.85.o1
		log = "[GetDateText]: [This.GetName]: usa.85.o1 executed"
		set_temp_variable = { percent_change = 3 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = ROOT }
		change_influence_percentage = yes
		if = {
			limit = { check_variable = { F35_contribution > 14 } }
			add_equipment_to_stockpile = {
				type = small_plane_strike_airframe_3
				variant_name = "F-35A Lightning II"
				amount = 100
				producer = USA
			}
		}
		else_if = {
			limit = { check_variable = { F35_contribution > 9 } }
			add_equipment_to_stockpile = {
				type = small_plane_strike_airframe_3
				variant_name = "F-35A Lightning II"
				amount = 75
				producer = USA
			}
		}
		else_if = {
			limit = { check_variable = { F35_contribution > 5 } }
			add_equipment_to_stockpile = {
				type = small_plane_strike_airframe_3
				variant_name = "F-35A Lightning II"
				amount = 50
				producer = USA
			}
		}
		else_if = {
			limit = { check_variable = { F35_contribution > 3 } }
			add_equipment_to_stockpile = {
				type = small_plane_strike_airframe_3
				variant_name = "F-35A Lightning II"
				amount = 25
				producer = USA
			}
		}
		else_if = {
			limit = { check_variable = { F35_contribution > 0 } }
			add_equipment_to_stockpile = {
				type = small_plane_strike_airframe_3
				variant_name = "F-35A Lightning II"
				amount = 10
				producer = USA
			}
		}
		else_if = {
			limit = { check_variable = { F35_contribution = 0 } }
			add_equipment_to_stockpile = {
				type = small_plane_strike_airframe_3
				variant_name = "F-35A Lightning II"
				amount = 5
				producer = USA
			}
		}
		ai_chance = { base = 10 }
	}

	option = {
		name = usa.85.o2
		log = "[GetDateText]: [This.GetName]: usa.85.o2 executed"
		set_temp_variable = { percent_change = 3 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = ROOT }
		change_influence_percentage = yes
		if = {
			limit = { check_variable = { F35_contribution > 14 } }
			add_equipment_to_stockpile = {
				type = cv_small_plane_strike_airframe_3
				variant_name = "F-35B Lightning II"
				amount = 100
				producer = USA
			}
		}
		else_if = {
			limit = { check_variable = { F35_contribution > 9 } }
			add_equipment_to_stockpile = {
				type = cv_small_plane_strike_airframe_3
				variant_name = "F-35B Lightning II"
				amount = 75
				producer = USA
			}
		}
		else_if = {
			limit = { check_variable = { F35_contribution > 5 } }
			add_equipment_to_stockpile = {
				type = cv_small_plane_strike_airframe_3
				variant_name = "F-35B Lightning II"
				amount = 50
				producer = USA
			}
		}
		else_if = {
			limit = { check_variable = { F35_contribution > 3 } }
			add_equipment_to_stockpile = {
				type = cv_small_plane_strike_airframe_3
				variant_name = "F-35B Lightning II"
				amount = 25
				producer = USA
			}
		}
		else_if = {
			limit = { check_variable = { F35_contribution > 0 } }
			add_equipment_to_stockpile = {
				type = cv_small_plane_strike_airframe_3
				variant_name = "F-35B Lightning II"
				amount = 10
				producer = USA
			}
		}
		else_if = {
			limit = { check_variable = { F35_contribution = 0 } }
			add_equipment_to_stockpile = {
				type = cv_small_plane_strike_airframe_3
				variant_name = "F-35B Lightning II"
				amount = 5
				producer = USA
			}
		}
		ai_chance = { base = 10 }
	}
}

country_event = {
	id = usa.86
	title = usa.86.t
	desc = usa.86.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	option = {
		name = usa.86.o1
		log = "[GetDateText]: [This.GetName]: usa.86.o1 executed"
		set_temp_variable = { percent_change = 3 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = FROM }
		change_influence_percentage = yes
		if = {
			limit = {
				NOT = { has_country_flag = collapsed_nation }
				NOT = { has_dynamic_modifier = { modifier = USA_f35_supply_chain } }
			}
			add_dynamic_modifier = { modifier = USA_f35_supply_chain }
		}
		FROM = { country_event = usa.87 }
		ai_chance = {
			base = 1
			modifier = {
				has_opinion = { target = FROM value > 115 }
				add = 10
			}
			modifier = {
				FROM = { has_government = democratic }
				add = 5
			}
			modifier = {
				add = 5
				FROM = { has_war = no }
			}
			modifier = {
				add = -5
				check_variable = { f35_production_debuff < -0.20 }
			}
			modifier = {
				add = -5
				check_variable = { f35_production_debuff < -0.40 }
			}
		}
	}

	option = {
		name = usa.86.o2
		log = "[GetDateText]: [This.GetName]: usa.86.o2 executed"
		FROM = { country_event = usa.88 }
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = usa.87
	title = usa.87.t
	desc = usa.87.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	option = {
		name = usa.87.o1
		log = "[GetDateText]: [This.GetName]: usa.87.o1 executed"
		set_temp_variable = { percent_change = 2 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = ROOT }
		change_influence_percentage = yes
		set_country_flag = F35_placed_small_order_A
		USA = {
			add_to_variable = { var = f35_production_debuff value = -0.02 tooltip = production_factory_max_efficiency_factor_tt }
			clamp_variable = { var = f35_production_debuff min = -100 max = 0 }
		}
		ROOT = {
			set_temp_variable = {
				treasury_change = {
					value = gdp_total
					multiply = -0.015
				}
			}
			modify_treasury_effect = yes
		}
		hidden_effect = {
			ROOT = {
				set_temp_variable = {
					treasury_change = {
						value = gdp_total
						multiply = -0.015
					}
				}
				modify_treasury_effect = yes
				set_temp_variable = {
					treasury_change = {
						value = gdp_total
						multiply = 0.015
					}
				}
				modify_treasury_effect = yes
			}
		}
		USA = {
			set_temp_variable = { buyer_gdp = ROOT.gdp_total }
			set_temp_variable = {
				treasury_change = {
					value = buyer_gdp
					multiply = 0.015
				}
			}
			modify_treasury_effect = yes
		}
		ai_chance = { base = 10 }
	}

	option = {
		name = usa.87.o2
		log = "[GetDateText]: [This.GetName]: usa.87.o2 executed"
		set_temp_variable = { percent_change = 2 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = ROOT }
		change_influence_percentage = yes
		set_country_flag = F35_placed_small_order_B
		USA = {
			add_to_variable = { var = f35_production_debuff value = -0.02 tooltip = production_factory_max_efficiency_factor_tt }
			clamp_variable = { var = f35_production_debuff min = -100 max = 0 }
		}
		ROOT = {
			set_temp_variable = {
				treasury_change = {
					value = gdp_total
					multiply = -0.01
				}
			}
			modify_treasury_effect = yes
		}
		hidden_effect = {
			ROOT = {
				set_temp_variable = {
					treasury_change = {
						value = gdp_total
						multiply = -0.01
					}
				}
				modify_treasury_effect = yes
				set_temp_variable = {
					treasury_change = {
						value = gdp_total
						multiply = 0.01
					}
				}
				modify_treasury_effect = yes
			}
		}
		USA = {
			set_temp_variable = { buyer_gdp = ROOT.gdp_total }
			set_temp_variable = {
				treasury_change = {
					value = buyer_gdp
					multiply = 0.01
				}
			}
			modify_treasury_effect = yes
		}
		ai_chance = { base = 5 }
	}

	option = {
		name = usa.87.o3
		log = "[GetDateText]: [This.GetName]: usa.87.o3 executed"
		set_temp_variable = { percent_change = 4 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = ROOT }
		change_influence_percentage = yes
		set_country_flag = F35_placed_large_order_A
		USA = {
			add_to_variable = { var = f35_production_debuff value = -0.04 tooltip = production_factory_max_efficiency_factor_tt }
			clamp_variable = { var = f35_production_debuff min = -100 max = 0 }
		}
		ROOT = {
			set_temp_variable = {
				treasury_change = {
					value = gdp_total
					multiply = -0.025
				}
			}
			modify_treasury_effect = yes
		}
		hidden_effect = {
			ROOT = {
				set_temp_variable = {
					treasury_change = {
						value = gdp_total
						multiply = -0.025
					}
				}
				modify_treasury_effect = yes
				set_temp_variable = {
					treasury_change = {
						value = gdp_total
						multiply = 0.025
					}
				}
				modify_treasury_effect = yes
			}
		}
		USA = {
			set_temp_variable = { buyer_gdp = ROOT.gdp_total }
			set_temp_variable = {
				treasury_change = {
					value = buyer_gdp
					multiply = 0.025
				}
			}
			modify_treasury_effect = yes
		}
		ai_chance = { base = 3 }
	}

	option = {
		name = usa.87.o4
		log = "[GetDateText]: [This.GetName]: usa.87.o4 executed"
		set_temp_variable = { percent_change = 4 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = ROOT }
		change_influence_percentage = yes
		set_country_flag = F35_placed_large_order_B
		USA = {
			add_to_variable = { var = f35_production_debuff value = -0.04 tooltip = production_factory_max_efficiency_factor_tt }
			clamp_variable = { var = f35_production_debuff min = -100 max = 0 }
		}
		ROOT = {
			set_temp_variable = {
				treasury_change = {
					value = gdp_total
					multiply = -0.02
				}
			}
			modify_treasury_effect = yes
		}
		hidden_effect = {
			ROOT = {
				set_temp_variable = {
					treasury_change = {
						value = gdp_total
						multiply = -0.02
					}
				}
				modify_treasury_effect = yes
				set_temp_variable = {
					treasury_change = {
						value = gdp_total
						multiply = 0.02
					}
				}
				modify_treasury_effect = yes
			}
		}
		USA = {
			set_temp_variable = { buyer_gdp = ROOT.gdp_total }
			set_temp_variable = {
				treasury_change = {
					value = buyer_gdp
					multiply = 0.02
				}
			}
			modify_treasury_effect = yes
		}
		ai_chance = { base = 3 }
	}
}

country_event = {
	id = usa.88
	title = usa.88.t
	desc = usa.88.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	option = {
		name = usa.88.o1
		ai_chance = { base = 10 }
	}
}

country_event = {
	id = usa.89
	title = usa.89.t
	desc = usa.89.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	option = {
		name = usa.89.o1
		log = "[GetDateText]: [This.GetName]: usa.89.o1 executed"
		FROM = { country_event = usa.90 }
		ai_chance = {
			base = 1
			modifier = {
				has_opinion = { target = FROM value > 115 }
				add = 15
			}
			modifier = {
				FROM = { has_government = democratic }
				add = 5
			}
			modifier = {
				add = 5
				FROM = { has_war = no }
			}
		}
	}

	option = {
		name = usa.89.o2
		log = "[GetDateText]: [This.GetName]: usa.89.o2 executed"
		FROM = {
			country_event = usa.91
		}
		ai_chance = {
			base = 0
			modifier = {
				FROM = {
					has_government = nationalist
				}
				add = 5
			}
			modifier = {
				FROM = {
					has_government = fascism
				}
				add = 5
			}
			modifier = {
				FROM = {
					has_government = communism
				}
				add = 5
			}
			modifier = {
				add = 5
				FROM = {
					has_war = yes
				}
			}
			modifier = {
				CHI = {
					NOT = { has_government = democratic }
					NOT = { has_government = neutrality }
				}
				FROM = {
					check_variable = { influence_array^0 = CHI }
					check_variable = { influence_array_val^0 > 19.999 }
				}
				add = 5
			}
			modifier = {
				PER = {
					OR = {
						emerging_hardline_shiite_are_in_power = yes
						emerging_moderate_shiite_are_in_power = yes
					}
				}
				FROM = {
					check_variable = { influence_array^0 = PER }
					check_variable = { influence_array_val^0 > 19.999 }
				}
				add = 5
			}
			modifier = {
				SOV = {
					NOT = {
						has_idea = Major_Non_NATO_Ally
					}
				}
				FROM = {
					check_variable = { influence_array^0 = SOV }
					check_variable = { influence_array_val^0 > 19.999 }
				}
				add = 5
			}
			# Don't act like a dumbass
			modifier = {
				FROM = { has_added_tension_amount > 19 }
				add = 5
			}
			# Puppet of an enemy
			modifier = {
				CHI = {
					NOT = { has_government = democratic }
					NOT = { has_government = neutrality }
				}
				FROM = {
					is_subject_of = CHI
				}
				add = 5
			}
			modifier = {
				PER = {
					OR = {
						emerging_hardline_shiite_are_in_power = yes
						emerging_moderate_shiite_are_in_power = yes
					}
				}
				FROM = {
					is_subject_of = PER
				}
				add = 5
			}
			modifier = {
				SOV = {
					NOT = {
						has_idea = Major_Non_NATO_Ally
					}
				}
				FROM = {
					is_subject_of = SOV
				}
				add = 5
			}
			# If you are not in NATO, or have MNNA
			modifier = {
				FROM = {
					NOT = { has_idea = NATO_member }
					NOT = { has_idea = Major_Non_NATO_Ally }
				}
				add = 5
			}
		}
	}

	option = {
		name = usa.89.o3
		log = "[GetDateText]: [This.GetName]: usa.89.o3 executed"
		FROM = {
			country_event = usa.95
			set_country_flag = F35_blacklist
		}
		ai_chance = {
			base = 0 # AI won't do this
		}
	}
}

country_event = {
	id = usa.90
	title = usa.90.t
	desc = usa.90.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	option = {
		name = usa.90.o1
		log = "[GetDateText]: [This.GetName]: usa.90.o1 executed"
		custom_effect_tooltip = USA_unlock_f35_decision_TT
		add_to_array = { global.f35_members = THIS.id }
		if = {
			limit = { USA = { has_country_flag = USA_f35_designed } }
			set_country_flag = USA_f35_program_member_new
		}
		else = { set_country_flag = USA_f35_legacy_members }
		set_country_flag = USA_accepted_into_f35_program
		set_country_flag = { flag = USA_f35_recently_joined value = 1 days = 180 }
		ai_chance = { base = 10 }
	}
}

country_event = {
	id = usa.91
	title = usa.91.t
	desc = usa.91.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	option = {
		name = usa.91.o1
		log = "[GetDateText]: [This.GetName]: usa.91.o1 executed"
		custom_effect_tooltip = USA_reasons_for_denial_TT
		ai_chance = { base = 10 }
	}
}

country_event = {
	id = usa.92
	title = usa.92.t
	desc = usa.92.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	option = {
		name = usa.92.o1
		log = "[GetDateText]: [This.GetName]: usa.92.o1 executed"
		custom_effect_tooltip = USA_removed_from_F35_TT
		remove_from_array = { global.f35_members = THIS.id }
		clr_country_flag = USA_accepted_into_f35_program
		clr_country_flag = USA_f35_legacy_members
		clr_country_flag = USA_f35_program_member_new
		clr_country_flag = F35_placed_small_order_A
		clr_country_flag = F35_placed_small_order_B
		clr_country_flag = F35_placed_large_order_A
		clr_country_flag = F35_placed_large_order_B
		ai_chance = { base = 10 }
	}
}

country_event = {
	id = usa.93
	title = usa.93.t
	desc = usa.93.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	option = {
		name = usa.93.o1
		ai_chance = { base = 10 }
	}
}

country_event = {
	id = usa.94
	is_triggered_only = yes
	hidden = yes

	trigger = {
		has_country_leader = { name = "Bill Clinton" ruling_only = yes }
	}

	immediate = {
		create_country_leader = {
			name = "Al Gore"
			picture = "al_gore.dds"
			ideology = liberalism
			traits = {
				western_liberalism
				party_trait_green
				career_politician
				rational
			}
		}
	}
}

country_event = {
	id = usa.95
	title = usa.95.t
	desc = usa.95.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	option = {
		name = usa.95.o1
		ai_chance = { base = 10 }
	}
}

# Afghanistan Stuff

news_event = {
	id = usa.100
	title = usa.100.t
	desc = usa.100.d
	picture = GFX_USA_commits_to_afg_world
	is_triggered_only = yes
	major = yes

	option = {
		name = usa.100.a
		trigger = { has_government = democratic }
		ai_chance = { base = 10 }
	}

	option = {
		name = usa.100.b
		trigger = { NOT = { has_government = democratic } }
		ai_chance = { base = 10 }
	}
}

country_event = {
	id = usa.101
	title = usa.101.t
	desc = usa.101.d
	picture = GFX_USA_afg_conflict
	is_triggered_only = yes

	trigger = { original_tag = USA }

	option = {
		name = usa.101.a
		log = "[GetDateText]: [This.GetName]: usa.101.a executed"
		add_stability = -0.01
		newline = yes
		add_manpower = -25
		newline = yes
		army_experience = 35
		ai_chance = { base = 10 }
	}
}

# F-22A Enters Low Rate Production
country_event = {
	id = usa.200
	title = usa.200.t
	desc = usa.200.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	trigger = { original_tag = USA }

	immediate = {
		hidden_effect = {
			random_list = {
				33 = { set_variable = { USA_f22_woes_severity = 1 } }
				34 = { set_variable = { USA_f22_woes_severity = 2 } }
				33 = { set_variable = { USA_f22_woes_severity = 3 } }
			}
			# Severity-scaled length of the upcoming Structural Issues period
			set_variable = { USA_f22_stage_base = 365 }
			if = {
				limit = { check_variable = { USA_f22_woes_severity = 1 } }
				multiply_variable = { USA_f22_stage_base = 0.7 }
			}
			else_if = {
				limit = { check_variable = { USA_f22_woes_severity = 3 } }
				multiply_variable = { USA_f22_stage_base = 1.4 }
			}
		}
	}

	# Ramp production now, accept the teething troubles
	option = {
		name = usa.200.a
		log = "[GetDateText]: [This.GetName]: usa.200.a executed"
		add_political_power = -25
		set_temp_variable = {
			USA_f22_next_days = {
				value = USA_f22_stage_base
				multiply = 0.6
				round = yes
			}
		}
		add_timed_idea = { idea = USA_fifth_generation_fighter_woes_2 days = USA_f22_next_days }
		add_timed_idea = { idea = USA_f22_rushed_production days = USA_f22_next_days }
		ai_chance = { base = 30 }
	}

	option = {
		name = usa.200.b
		log = "[GetDateText]: [This.GetName]: usa.200.b executed"
		add_political_power = -50
		set_temp_variable = { treasury_change = -0.5 }
		modify_treasury_effect = yes
		set_temp_variable = {
			USA_f22_next_days = {
				value = USA_f22_stage_base
				multiply = 1.2
				round = yes
			}
		}
		add_timed_idea = { idea = USA_fifth_generation_fighter_woes_2 days = USA_f22_next_days }
		ai_chance = { base = 70 }
	}

	# Hold to a deliberate, low-rate build
}

# F-22 Structural Issues
country_event = {
	id = usa.201
	title = usa.201.t
	desc = usa.201.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	trigger = { original_tag = USA }

	immediate = {
		hidden_effect = {
			# Severity-scaled length of the upcoming Avionics Software period
			set_variable = { USA_f22_stage_base = 365 }
			if = {
				limit = { check_variable = { USA_f22_woes_severity = 1 } }
				multiply_variable = { USA_f22_stage_base = 0.7 }
			}
			else_if = {
				limit = { check_variable = { USA_f22_woes_severity = 3 } }
				multiply_variable = { USA_f22_stage_base = 1.4 }
			}
		}
	}

	# Bolt on the fixes and keep flying
	option = {
		name = usa.201.a
		log = "[GetDateText]: [This.GetName]: usa.201.a executed"
		add_political_power = -25
		set_temp_variable = {
			USA_f22_next_days = {
				value = USA_f22_stage_base
				multiply = 0.6
				round = yes
			}
		}
		add_timed_idea = { idea = USA_fifth_generation_fighter_woes_3 days = USA_f22_next_days }
		add_timed_idea = { idea = USA_f22_rushed_production days = USA_f22_next_days }
		ai_chance = { base = 30 }
	}

	option = {
		name = usa.201.b
		log = "[GetDateText]: [This.GetName]: usa.201.b executed"
		add_political_power = -50
		set_temp_variable = { treasury_change = -0.75 }
		modify_treasury_effect = yes
		set_temp_variable = {
			USA_f22_next_days = {
				value = USA_f22_stage_base
				multiply = 1.2
				round = yes
			}
		}
		add_timed_idea = { idea = USA_fifth_generation_fighter_woes_3 days = USA_f22_next_days }
		ai_chance = { base = 70 }
	}

	# Ground the fleet for a proper structural redesign
}

# F-22 Avionics Software Issues
country_event = {
	id = usa.202
	title = usa.202.t
	desc = usa.202.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	trigger = { original_tag = USA }

	immediate = {
		hidden_effect = {
			# Severity-scaled wait until the Raptor is cleared for rollout
			set_variable = { USA_f22_stage_base = 540 }
			if = {
				limit = { check_variable = { USA_f22_woes_severity = 1 } }
				multiply_variable = { USA_f22_stage_base = 0.7 }
			}
			else_if = {
				limit = { check_variable = { USA_f22_woes_severity = 3 } }
				multiply_variable = { USA_f22_stage_base = 1.4 }
			}
		}
	}

	# Field with Block 3.1.2 as-is, fix the reboots in service
	option = {
		name = usa.202.a
		log = "[GetDateText]: [This.GetName]: usa.202.a executed"
		add_political_power = -25
		set_temp_variable = {
			USA_f22_next_days = {
				value = USA_f22_stage_base
				multiply = 0.60
				round = yes
			}
		}
		add_timed_idea = { idea = USA_f22_rushed_production days = USA_f22_next_days }
		country_event = { id = usa.203 days = USA_f22_next_days }
		ai_chance = { base = 30 }
	}

	option = {
		name = usa.202.b
		log = "[GetDateText]: [This.GetName]: usa.202.b executed"
		add_political_power = -75
		set_temp_variable = { treasury_change = -1 }
		modify_treasury_effect = yes
		set_temp_variable = {
			USA_f22_next_days = {
				value = USA_f22_stage_base
				round = yes
			}
		}
		country_event = { id = usa.203 days = USA_f22_next_days }
		ai_chance = { base = 70 }
	}

	# Crash-priority software effort before IOT&E
}

# F-22 - Finalized + Rolled Out
country_event = {
	id = usa.203
	title = usa.203.t
	desc = usa.203.d
	picture = GFX_f_plane_usa
	is_triggered_only = yes

	trigger = { original_tag = USA }

	immediate = {
		remove_ideas = USA_f22_rushed_production
		clear_variable = USA_f22_woes_severity
		clear_variable = USA_f22_stage_base
		clear_variable = USA_f22_next_days
	}

	# The Raptor is operational
	option = {
		name = usa.203.a
		log = "[GetDateText]: [This.GetName]: usa.203.a executed"
		add_timed_idea = { idea = USA_f22_raptor_operational days = 180 }
		air_experience = 50
	}
}

# This is for the AI game rule
country_event = {
	id = usa.999
	title = usa.999.t
	desc = usa.999.d
	picture = GFX_plane_crash
	is_triggered_only = yes

	trigger = {
		is_ai = yes
		has_global_flag = GAME_RULE_USA_historical_presidents_ai
	}

	option = { #Sad Day
		name = usa.999.o1
		log = "[GetDateText]: [This.GetName]: usa.999.01 executed"
		if = {
			limit = {
				date > 2001.1.18
				date < 2001.2.18
			}
			set_temp_variable = { rul_party_temp = 1 }
			change_ruling_party_effect = yes
			create_country_leader = {
				name = "George W. Bush"
				picture = "George_W_Bush.dds"
				desc = "GEORGE_BUSH_LEADER_DESC"
				ideology = conservatism
				traits = {
					western_conservatism
					businessman
					rational
				}
			}
		}
		else_if = {
			limit = {
				date > 2005.1.18
				date < 2005.2.18
			}
			set_temp_variable = { rul_party_temp = 1 }
			change_ruling_party_effect = yes
			create_country_leader = {
				name = "George W. Bush"
				picture = "George_W_Bush.dds"
				desc = "GEORGE_BUSH_LEADER_DESC"
				ideology = conservatism
				traits = {
					western_conservatism
					businessman
					rational
				}
			}
		}
		else_if = {
			limit = {
				date > 2009.1.18
				date < 2009.2.18
			}
			set_temp_variable = { rul_party_temp = 2 }
			change_ruling_party_effect = yes
			create_country_leader = {
				name = "Barack Obama"
				desc = "BARACK_OBAMA_LEADER_DESC"
				picture = "Barack_Obama.dds"
				ideology = liberalism
				traits = {
					lawyer
					western_liberalism
					polished
					honest
					rational
					geopolitical_thinker
				}
			}
		}
		else_if = {
			limit = {
				date > 2013.1.18
				date < 2013.2.18
			}
			set_temp_variable = { rul_party_temp = 2 }
			change_ruling_party_effect = yes
			create_country_leader = {
				name = "Barack Obama"
				desc = "BARACK_OBAMA_LEADER_DESC"
				picture = "Barack_Obama.dds"
				ideology = liberalism
				traits = {
					lawyer
					western_liberalism
					polished
					honest
					rational
					geopolitical_thinker
				}
			}
		}
		else_if = {
			limit = {
				date > 2017.1.18
				date < 2017.2.18
			}
			set_temp_variable = { rul_party_temp = 1 }
			change_ruling_party_effect = yes
			create_country_leader = {
				name = "Donald Trump"
				desc = "DONALD_TRUMP_LEADER_DESC"
				picture = "Donald_Trump.dds"
				ideology = conservatism
				traits = {
					western_conservatism
					businessman
					narcissist
					greedy
					emotional
				}
			}
		}
		else_if = {
			limit = {
				date > 2021.1.18
				date < 2021.2.18
			}
			set_temp_variable = { rul_party_temp = 2 }
			change_ruling_party_effect = yes
			create_country_leader = {
				name = "Joe Biden"
				picture = "Joe_Biden.dds"
				ideology = liberalism
				traits = {
					western_liberalism
					career_politician
					polished
				}
			}
		}
		else_if = {
			limit = {
				date > 2025.1.18
				date < 2025.2.18
			}
			set_temp_variable = { rul_party_temp = 1 }
			change_ruling_party_effect = yes
			create_country_leader = {
				name = "Donald Trump"
				desc = "DONALD_TRUMP_LEADER_DESC"
				picture = "Donald_Trump.dds"
				ideology = conservatism
				traits = {
					western_conservatism
					businessman
					narcissist
					greedy
					emotional
				}
			}
		}
		ai_chance = {
			base = 1
		}
	}
}

# Dept. Of State - Repeating Events
country_event = {
	id = department_of_state.01
	title = department_of_state.01.t
	desc = department_of_state.01.d
	picture = GFX_sinking_ship
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.01.a
		log = "[GetDateText]: [This.GetName]: department_of_state.01.a executed"
		add_equipment_to_stockpile = {
			type = convoy
			amount = -2
		}
		newline = yes
		set_temp_variable = { treasury_change = -15.00 }
		modify_treasury_effect = yes
		newline = yes
		set_temp_variable = { party_popularity_increase = -0.015 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 1
		}
	}
}

# Department Of State
country_event = {
	id = department_of_state.123
	title = department_of_state.123.t
	desc = department_of_state.123.d
	picture = GFX_generic_solar_farms
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.123.a
		log = "[GetDateText]: [This.GetName]: department_of_state.123.a executed"
		534 = {
			add_resource = {
				type = oil
				amount = -26
			}
		}
		newline = yes
		583 = {
			add_resource = {
				type = oil
				amount = -38
			}
		}
		newline = yes
		570 = {
			add_building_construction = {
				type = renewable_energy_infra
				level = 10
			}
		}
		newline = yes
		547 = {
			add_building_construction = {
				type = renewable_energy_infra
				level = 10
			}
		}
		newline = yes
		540 = {
			add_building_construction = {
				type = renewable_energy_infra
				level = 10
			}
		}
		newline = yes
		532 = {
			add_building_construction = {
				type = renewable_energy_infra
				level = 10
			}
		}
		newline = yes
		578 = {
			add_building_construction = {
				type = renewable_energy_infra
				level = 10
			}
		}
		newline = yes
		531 = {
			add_building_construction = {
				type = renewable_energy_infra
				level = 10
			}
		}
		newline = yes
		USA = {
			country_event = {
				id = department_of_state.2
				days = 1
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				add = 20
				has_opinion = { target = USA value > 0 }
			}
		}
	}

	option = { # No
		name = department_of_state.123.b
		log = "[GetDateText]: [This.GetName]: department_of_state.123.b executed"
		USA = {
			country_event = {
				id = department_of_state.3
				days = 1
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				add = 20
				has_opinion = { target = USA value < 0 }
			}
		}
	}
}

country_event = {
	id = department_of_state.2
	title = department_of_state.2.t
	desc = department_of_state.2.d
	picture = GFX_generic_solar_farms
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.2.a
		log = "[GetDateText]: [This.GetName]: department_of_state.2.a executed"
		set_temp_variable = { treasury_change = -480.00 }
		modify_treasury_effect = yes
		newline = yes
		effect_tooltip = {
			534 = {
				add_resource = {
					type = oil
					amount = -26
				}
			}
			newline = yes
			583 = {
				add_resource = {
					type = oil
					amount = -38
				}
			}
			newline = yes
			570 = {
				add_building_construction = {
					type = renewable_energy_infra
					level = 10
				}
			}
			newline = yes
			547 = {
				add_building_construction = {
					type = renewable_energy_infra
					level = 10
				}
			}
			newline = yes
			540 = {
				add_building_construction = {
					type = renewable_energy_infra
					level = 10
				}
			}
			newline = yes
			532 = {
				add_building_construction = {
					type = renewable_energy_infra
					level = 10
				}
			}
			newline = yes
			578 = {
				add_building_construction = {
					type = renewable_energy_infra
					level = 10
				}
			}
			newline = yes
			531 = {
				add_building_construction = {
					type = renewable_energy_infra
					level = 10
				}
			}
		}
		newline = yes
		set_temp_variable = { percent_change = 2 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = CHI }
		change_influence_percentage = yes
		hidden_effect = {
			country_event = {
				id = department_of_state.4
				days = 90
			}
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.3
	title = department_of_state.3.t
	desc = department_of_state.3.d
	picture = GFX_generic_solar_farms
	is_triggered_only = yes

	option = { name = department_of_state.3.a }
}

country_event = {
	id = department_of_state.4
	title = department_of_state.4.t
	desc = department_of_state.4.d
	picture = GFX_generic_solar_farms
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.4.a
		log = "[GetDateText]: [This.GetName]: department_of_state.4.a executed"
		811 = {
			add_building_construction = {
				type = renewable_energy_infra
				level = 5
			}
		}
		newline = yes
		769 = {
			add_building_construction = {
				type = renewable_energy_infra
				level = 5
			}
		}
		newline = yes
		778 = {
			add_building_construction = {
				type = renewable_energy_infra
				level = 5
			}
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.5
	title = department_of_state.5.t
	desc = department_of_state.5.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	option = {
		name = department_of_state.5.a
		log = "[GetDateText]: [This.GetName]: department_of_state.5.a executed"
		1189 = {
			if = {
				limit = { arms_factory > 1 }
				remove_building = {
					type = arms_factory
					level = 2
				}
			}
			add_building_construction = {
				type = industrial_complex
				level = 3
			}
		}
		newline = yes
		652 = {
			if = {
				limit = { arms_factory > 1 }
				remove_building = {
					type = arms_factory
					level = 2
				}
			}
			add_building_construction = {
				type = industrial_complex
				level = 3
			}
		}
		newline = yes
		665 = {
			if = {
				limit = { arms_factory > 1 }
				remove_building = {
					type = arms_factory
					level = 2
				}
			}
			add_building_construction = {
				type = industrial_complex
				level = 3
			}
		}
		newline = yes
		1071 = {
			if = {
				limit = { arms_factory > 0 }
				remove_building = {
					type = arms_factory
					level = 1
				}
			}
			add_building_construction = {
				type = industrial_complex
				level = 2
			}
		}
		newline = yes
		676 = {
			if = {
				limit = { arms_factory > 0 }
				remove_building = {
					type = arms_factory
					level = 1
				}
			}
			add_building_construction = {
				type = industrial_complex
				level = 2
			}
		}
		newline = yes
		USA = {
			country_event = {
				id = department_of_state.6
				days = 2
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				add = 20
				has_opinion = { target = USA value > 0 }
			}
		}
	}

	option = { # Okay
		name = department_of_state.5.b
		log = "[GetDateText]: [This.GetName]: department_of_state.5.b executed"
		USA = {
			country_event = {
				id = department_of_state.7
				days = 2
			}
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.6
	title = department_of_state.6.t
	desc = department_of_state.6.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.6.a
		log = "[GetDateText]: [This.GetName]: department_of_state.6.a executed"
		set_temp_variable = { treasury_change = -120.0 }
		modify_treasury_effect = yes
		newline = yes
		set_temp_variable = { percent_change = 5 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = SOV }
		change_influence_percentage = yes
		newline = yes
		effect_tooltip = {
			1189 = {
				remove_building = {
					type = arms_factory
					level = 2
				}
				add_building_construction = {
					type = industrial_complex
					level = 3
				}
			}
			newline = yes
			652 = {
				remove_building = {
					type = arms_factory
					level = 2
				}
				add_building_construction = {
					type = industrial_complex
					level = 3
				}
			}
			newline = yes
			665 = {
				remove_building = {
					type = arms_factory
					level = 2
				}
				add_building_construction = {
					type = industrial_complex
					level = 3
				}
			}
			newline = yes
			1071 = {
				remove_building = {
					type = arms_factory
					level = 1
				}
				add_building_construction = {
					type = industrial_complex
					level = 2
				}
			}
			newline = yes
			676 = {
				remove_building = {
					type = arms_factory
					level = 1
				}
				add_building_construction = {
					type = industrial_complex
					level = 2
				}
			}
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.7
	title = department_of_state.7.t
	desc = department_of_state.7.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	option = { name = department_of_state.7.a }
}

news_event = {
	id = department_of_state.8
	title = department_of_state.8.t
	desc = department_of_state.8.d
	picture = GFX_USA_War_On_Terrorism
	is_triggered_only = yes
	major = yes

	option = { # Okay
		name = department_of_state.8.a
		trigger = {
			NOT = { has_government = communism }
			NOT = { has_government = nationalist }
			NOT = { has_government = fascism }
		}
		ai_chance = {
			base = 1
		}
	}

	option = { # Okay
		name = department_of_state.8.b
		trigger = {
			OR = {
				has_government = communism
				has_government = nationalist
				has_government = fascism
			}
		}
		ai_chance = {
			base = 1
		}
	}
}

news_event = {
	id = department_of_state.9
	title = department_of_state.9.t
	desc = department_of_state.9.d
	picture = GFX_united_states_air_force
	is_triggered_only = yes
	major = yes

	option = { # Okay
		name = department_of_state.9.a
		trigger = {
			NOT = { has_government = communism }
			NOT = { has_government = nationalist }
			NOT = { has_government = fascism }
		}
		ai_chance = {
			base = 1
		}
	}

	option = { # Okay
		name = department_of_state.9.b
		trigger = {
			OR = {
				has_government = communism
				has_government = nationalist
				has_government = fascism
			}
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.900
	title = department_of_state.900.t
	desc = department_of_state.900.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.900.a
		log = "[GetDateText]: [This.GetName]: department_of_state.900.a executed"
		USA = {
			country_event = department_of_state.10
		}
		set_country_flag = {
			flag = block_raid_events
			days = 300
			value = 1
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.10
	title = department_of_state.10.t
	desc = department_of_state.10.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.10.a
		log = "[GetDateText]: [This.GetName]: department_of_state.10.a executed"
		hidden_effect = {
			if = {
				limit = {
					USA = {
						is_ai = yes
					}
				}
				add_political_power = 300
				add_command_power = 100
			}
		}
		set_country_flag = {
			flag = promised_retaliation_against@FROM
			days = 300
			value = 1
		}
		SSU = {
			add_ideas = USA_SSU_aid
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.11
	title = department_of_state.11.t
	desc = department_of_state.11.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.11.a
		log = "[GetDateText]: [This.GetName]: department_of_state.11.a executed"
		USA = {
			country_event = {
				id = department_of_state.12
				days = 1
			}
		}
		add_relation_modifier = {
			target = SSU
			modifier = generic_increased_military_support
		}
		hidden_effect = {
			division_template = {
				name = "Volunteer Forces"
				support = {
					H_Engi_Comp = { x = 0 y = 0 }
					Mot_Recce_Comp = { x = 0 y = 1 }
					combat_service_support_company = { x = 0 y = 2 }
				}
				regiments = {
					L_Inf_Bat = { x = 0 y = 0 }
					L_Inf_Bat = { x = 1 y = 0 }
					L_Inf_Bat = { x = 2 y = 0 }
					L_Inf_Bat = { x = 3 y = 0 }
					L_Inf_Bat = { x = 1 y = 1 }
					L_Inf_Bat = { x = 2 y = 1 }
				}
				priority = 0
			}
			capital_scope = {
				create_unit = {
					division = "name = \"Volunteer Forces Brigade\" division_template = \"Volunteer Forces\" start_experience_factor = 1.0"
					owner = ROOT
					count = 2
				}
			}
		}
		ai_chance = {
			base = 5
			modifier = {
				has_opinion = { target = USA value > 10 }
				add = 10
			}
		}
	}

	option = { # No
		name = department_of_state.11.b
		log = "[GetDateText]: [This.GetName]: department_of_state.11.b executed"
		USA = {
			country_event = {
				id = department_of_state.13
				days = 1
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				has_war = yes
				add = 100
			}
		}
	}
}

country_event = {
	id = department_of_state.12
	title = department_of_state.12.t
	desc = department_of_state.12.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.12.a
		log = "[GetDateText]: [This.GetName]: department_of_state.12.a executed"
		set_temp_variable = { percent_change = 2 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = FROM }
		change_influence_percentage = yes
		newline = yes
		set_temp_variable = { treasury_change = -19.00 }
		modify_treasury_effect = yes
		newline = yes
		FROM = {
			set_temp_variable = { treasury_change = 19.00 }
			modify_treasury_effect = yes
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.13
	title = department_of_state.13.t
	desc = department_of_state.13.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.13.a
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.14
	title = department_of_state.14.t
	desc = department_of_state.14.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.14.a
		log = "[GetDateText]: [This.GetName]: department_of_state.14.a executed"
		hidden_effect = {
			country_event = {
				id = department_of_state.17
				days = 3650 # 10 years
			}
		}
		if = {
			limit = {
				original_tag = BRA
			}
			879 = {
				add_resource = {
					type = chromium
					amount = 20
				}
			}
			give_resource_rights = { receiver = USA state = 879 }
		}
		if = {
			limit = {
				original_tag = COL
			}
			872 = {
				add_resource = {
					type = chromium
					amount = 20
				}
			}
			give_resource_rights = { receiver = USA state = 872 }
		}
		if = {
			limit = {
				original_tag = CHL
			}
			472 = {
				add_resource = {
					type = chromium
					amount = 20
				}
			}
			give_resource_rights = { receiver = USA state = 472 }
		}
		USA = {
			country_event = department_of_state.15
		}
		ai_chance = {
			base = 1
			modifier = {
				add = 10
				has_opinion = {
					target = USA
					value > 19
				}
			}
		}
	}

	option = { # No
		name = department_of_state.14.b
		log = "[GetDateText]: [This.GetName]: department_of_state.14.b executed"
		USA = {
			country_event = department_of_state.16
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.15
	title = department_of_state.15.t
	desc = department_of_state.15.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.15.a
		log = "[GetDateText]: [This.GetName]: department_of_state.15.a executed"
		set_temp_variable = { percent_change = 5 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = FROM }
		change_influence_percentage = yes
		newline = yes
		set_temp_variable = { treasury_change = -21.00 }
		modify_treasury_effect = yes
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.16
	title = department_of_state.16.t
	desc = department_of_state.16.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.16.a
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.17
	title = department_of_state.17.t
	desc = department_of_state.17.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.17.a
		log = "[GetDateText]: [This.GetName]: department_of_state.17.a executed"
		USA = {
			country_event = department_of_state.18
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.18
	title = department_of_state.18.t
	desc = department_of_state.18.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.18.a
		log = "[GetDateText]: [This.GetName]: department_of_state.18.a executed"
		if = {
			limit = {
				FROM = {
					original_tag = BRA
				}
			}
			USA = { remove_resource_rights = 879 }
		}
		if = {
			limit = {
				FROM = {
					original_tag = COL
				}
			}
			USA = { remove_resource_rights = 872 }
		}
		if = {
			limit = {
				FROM = {
					original_tag = CHL
				}
			}
			USA = { remove_resource_rights = 472 }
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.19
	title = department_of_state.19.t
	desc = department_of_state.19.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.19.a
		log = "[GetDateText]: [This.GetName]: department_of_state.19.a executed"
		country_event = {
			id = department_of_state.20
			days = 12
		}
		USA = {
			country_event = {
				id = department_of_state.26
				days = 1
			}
		}
		ai_chance = {
			base = 20
			modifier = {
				add = 10
				has_opinion = {
					target = USA
					value > 19
				}
			}
			modifier = {
				add = 100
				has_government = democratic
			}
			modifier = {
				add = 10
				OR = {
					has_government = nationalist
					has_government = neutrality
				}
			}
		}
	}

	option = { # No
		name = department_of_state.19.b
		log = "[GetDateText]: [This.GetName]: department_of_state.19.b executed"
		USA = {
			country_event = {
				id = department_of_state.27
				days = 1
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				is_subject_of = SOV
				add = 500
			}
		}
	}
}

country_event = {
	id = department_of_state.20
	title = department_of_state.20.t
	desc = department_of_state.20.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.20.a
		log = "[GetDateText]: [This.GetName]: department_of_state.20.a executed"
		hidden_effect = {
			set_country_flag = georgian_conflict
			USA = { set_country_flag = georgian_conflict }
			SOV = { set_country_flag = georgian_conflict }
			SOO = { set_country_flag = georgian_conflict }
			ABK = { set_country_flag = georgian_conflict }
			GEO = { activate_mission = GEO_the_conflict }
			USA = { activate_mission = GEO_the_conflict }
			SOV = { activate_mission = GEO_the_conflict }
			ABK = { activate_mission = GEO_the_conflict }
			SOO = { activate_mission = GEO_the_conflict }
		}
		if = {
			limit = {
				country_exists = SOO
				NOT = {
					SOO = {
						is_subject_of = GEO
					}
				}
			}
			declare_war_on = {
				target = SOO
				type = annex_everything
			}
		}
		if = {
			limit = {
				country_exists = ABK
				NOT = {
					ABK = {
						is_subject_of = GEO
					}
				}
			}
			declare_war_on = {
				target = ABK
				type = annex_everything
			}
		}
		SOV = {
			country_event = {
				id = department_of_state.21
				days = 1
			}
		}
		ai_chance = {
			base = 1
		}
	}
}

# Georgia Strikes Northward
country_event = {
	id = department_of_state.21
	title = department_of_state.21.t
	desc = department_of_state.21.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.21.a
		log = "[GetDateText]: [This.GetName]: department_of_state.21.a executed"
		if = { limit = { NOT = { has_war_with = GEO } }
			declare_war_on = {
				target = GEO
				type = annex_everything
			}
		}
		USA = {
			country_event = {
				id = department_of_state.22
				days = 1
			}
		}
		ai_chance = {
			base = 1
		}
	}

	option = { # Okay
		name = department_of_state.21.b
		ai_chance = {
			base = 0
		}
	}
}

# USA EVENT ABOUT RUSSIAN RETALIATION
country_event = {
	id = department_of_state.22
	title = department_of_state.22.t
	desc = department_of_state.22.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes

	option = { # Call a NATO summit
		name = department_of_state.22.a
		log = "[GetDateText]: [This.GetName]: department_of_state.22.a executed"
		for_each_scope_loop = {
			array = global.nato_members
			tooltip = TT_ALL_NATO_MEMBER_NATIONS_GAIN
			if = {
				limit = { NOT = { original_tag = USA } }
				country_event = department_of_state.23
			}
		}
		custom_effect_tooltip = TT_IF_THEY_REJECT
		effect_tooltip = {
		}
		custom_effect_tooltip = TT_IF_THEY_ACCEPT
		effect_tooltip = {
			add_relation_modifier = {
				target = GEO
				modifier = generic_increased_military_support
			}
		}
		add_relation_modifier = {
			target = GEO
			modifier = generic_increased_military_support
		}
		add_ai_strategy = {
			type = send_volunteers_desire
			id = GEO
			value = 500
		}
		news_event = {
			id = department_of_state.24
			days = 1
		}
		ai_chance = {
			base = 1
		}
	}

	option = { # Yeah... But we've changed our mind
		name = department_of_state.22.b
		log = "[GetDateText]: [This.GetName]: department_of_state.22.b executed"
		GEO = {
			country_event = {
				id = department_of_state.25
				days = 1
			}
		}
		ai_chance = {
			base = 0
		}
	}
}

# United States Requests Our Support
country_event = {
	id = department_of_state.23
	title = department_of_state.23.t
	desc = department_of_state.23.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.23.a
		log = "[GetDateText]: [This.GetName]: department_of_state.23.a executed"
		add_relation_modifier = {
			target = GEO
			modifier = generic_increased_military_support
		}
		add_ai_strategy = {
			type = send_volunteers_desire
			id = GEO
			value = 500
		}
		ai_chance = {
			base = 15
			modifier = {
				add = 20
				has_idea = NATO_member
			}
			modifier = {
				add = 10
				has_opinion = { target = USA value > 0 }
			}
			modifier = {
				factor = 0
				has_war = yes
			}
		}
	}

	option = { # No
		name = department_of_state.23.b
		ai_chance = {
			base = 1
		}
	}
}
# Flavor Event
news_event = {
	id = department_of_state.24
	title = department_of_state.24.t
	desc = department_of_state.24.d
	picture = GFX_world_nato_article
	is_triggered_only = yes
	major = yes

	option = { # Okay
		name = department_of_state.24.a
		trigger = {
			OR = {
				has_government = neutrality
				has_government = democratic
			}
		}
		ai_chance = {
			base = 2
		}
	}

	option = { # Okay
		name = department_of_state.24.b
		trigger = {
			OR = {
				has_government = communism
				has_government = nationalist
				has_government = fascism
			}
		}
		ai_chance = {
			base = 2
		}
	}
}

country_event = {
	id = department_of_state.25
	title = department_of_state.25.t
	desc = department_of_state.25.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.25.a
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.26
	title = department_of_state.26.t
	desc = department_of_state.26.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.26.a
		log = "[GetDateText]: [This.GetName]: department_of_state.26.a executed"
		send_equipment = {
			amount = 5000
			type = infantry_weapons_1
			target = GEO
		}
		send_equipment = {
			amount = 1500
			type = util_vehicle_type
			target = GEO
		}
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.27
	title = department_of_state.27.t
	desc = department_of_state.27.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.27.a
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.28
	title = department_of_state.28.t
	desc = department_of_state.28.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.28.a
		log = "[GetDateText]: [This.GetName]: department_of_state.28.a executed"
		every_owned_state = {
			limit = {
				anti_air_building < 5
			}
			add_building_construction = {
				type = anti_air_building
				level = 1
			}
		}
		set_temp_variable = { percent_change = 4 }
		set_temp_variable = { tag_index = USA.id }
		change_influence_percentage = yes
		ai_chance = {
			base = 15
		}
	}

	option = { # Okay
		name = department_of_state.28.b
		log = "[GetDateText]: [This.GetName]: department_of_state.28.b executed"
		set_temp_variable = { percent_change = -4 }
		set_temp_variable = { tag_index = USA.id }
		change_influence_percentage = yes
		ai_chance = {
			base = 15
		}
	}
}

news_event = {
	id = department_of_state.29
	title = department_of_state.29.t
	desc = department_of_state.29.d
	picture = GFX_BLR_protest_1
	is_triggered_only = yes
	major = yes

	option = { # Okay
		name = department_of_state.29.a
		ai_chance = {
			base = 15
		}
	}
}

news_event = {
	id = department_of_state.30
	title = department_of_state.30.t
	desc = department_of_state.30.d
	picture = GFX_BLR_civilwar
	is_triggered_only = yes
	major = yes

	option = { # Okay
		name = department_of_state.30.a
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.31
	title = department_of_state.31.t
	desc = department_of_state.31.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes

	option = { # Expand CSTO
		name = department_of_state.31.a
		log = "[GetDateText]: [This.GetName]: department_of_state.31.a executed"
		trigger = {
			country_exists = SER
			SER = {
				NOT = { is_subject = yes }
				NOT = { is_in_faction_with = USA }
				NOT = { has_idea = NATO_member }
			}
		}
		SER = {
			country_event = {
				id = department_of_state.32
				days = 1
			}
		}
		ai_chance = {
			base = 15
		}
	}

	option = { # Invade a European state
		name = department_of_state.31.b
		log = "[GetDateText]: [This.GetName]: department_of_state.31.b executed"
		trigger = {
			NOT = {
				OR = {
					EST = {
						is_in_faction_with = USA
					}
					LAT = {
						is_in_faction_with = USA
					}
					LIT = {
						is_in_faction_with = USA
					}
					is_historical_focus_on = no
				}
			}
		}
		news_event = department_of_state.34
		if = {
			limit = {
				country_exists = EST
				EST = {
					NOT = {
						OR = {
							has_idea = NATO_member
							is_in_faction_with = USA
						}
					}
				}
			}
			declare_war_on = {
				target = EST
				type = annex_everything
			}
		}
		if = {
			limit = {
				country_exists = LAT
				LAT = {
					NOT = {
						OR = {
							has_idea = NATO_member
							is_in_faction_with = USA
						}
					}
				}
			}
			declare_war_on = {
				target = LAT
				type = annex_everything
			}
		}
		if = {
			limit = {
				country_exists = LIT
				LIT = {
					NOT = {
						OR = {
							has_idea = NATO_member
							is_in_faction_with = USA
						}
					}
				}
			}
			declare_war_on = {
				target = LIT
				type = annex_everything
			}
		}
		ai_chance = {
			base = 10
		}
	}

	option = { # Invade a European state
		name = department_of_state.31.c
		ai_chance = {
			base = 10
		}
	}
}

country_event = {
	id = department_of_state.32
	title = department_of_state.32.t
	desc = department_of_state.32.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes

	option = { # Expand CSTO
		name = department_of_state.32.a
		log = "[GetDateText]: [This.GetName]: department_of_state.32.a executed"
		CSTO_join = yes
		ai_chance = {
			base = 15
		}
	}

	option = {
		name = department_of_state.32.b
		log = "[GetDateText]: [This.GetName]: department_of_state.32.b executed"
		SOV = {
			country_event = {
				id = department_of_state.33
				days = 1
			}
		}
		ai_chance = { base = 0 }
	}
}

country_event = {
	id = department_of_state.33
	title = department_of_state.33.t
	desc = department_of_state.33.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes

	option = {
		name = department_of_state.33.a
		ai_chance = { base = 15 }
	}
}

news_event = {
	id = department_of_state.34
	title = department_of_state.34.t
	desc = department_of_state.34.d
	picture = GFX_sov_nationalist_news15
	is_triggered_only = yes
	major = yes

	option = { # Okay
		name = department_of_state.34.a
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.35
	title = department_of_state.35.t
	desc = department_of_state.35.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	trigger = {
		country_exists = ESB
		NOT = { ESB = { is_subject = yes } }
		ESB = { is_neighbor_of = CHI }
	}

	option = {
		name = department_of_state.35.a
		log = "[GetDateText]: [This.GetName]: department_of_state.35.a executed"
		declare_war_on = {
			target = ESB
			type = puppet_wargoal_focus
		}
		news_event = {
			id = department_of_state.36
			days = 2
		}
		hidden_effect = {
			if = {
				limit = {
					USA = {
						has_idea = NATO_member
						is_faction_leader = yes
					}
				}
				USA = {
					country_event = {
						id = department_of_state.37
						days = 40
					}
				}
			}
			else_if = {
				limit = {
					FRA = {
						has_idea = NATO_member
						is_faction_leader = yes
					}
				}
				FRA = {
					country_event = {
						id = department_of_state.37
						days = 40
					}
				}
			}
			else_if = {
				limit = {
					ENG = {
						has_idea = NATO_member
						is_faction_leader = yes
					}
				}
				ENG = {
					country_event = {
						id = department_of_state.37
						days = 40
					}
				}
			}
			else_if = {
				limit = {
					TUR = {
						has_idea = NATO_member
						is_faction_leader = yes
					}
				}
				TUR = {
					country_event = {
						id = department_of_state.37
						days = 40
					}
				}
			}
			else_if = {
				limit = {
					GER = {
						has_idea = NATO_member
						is_faction_leader = yes
					}
				}
				GER = {
					country_event = {
						id = department_of_state.37
						days = 40
					}
				}
			}
			else_if = {
				limit = {
					POL = {
						has_idea = NATO_member
						is_faction_leader = yes
					}
				}
				POL = {
					country_event = {
						id = department_of_state.37
						days = 40
					}
				}
			}
		}
		ai_chance = { base = 15 }
	}

	option = {
		name = department_of_state.35.b
		log = "[GetDateText]: [This.GetName]: department_of_state.35.b executed"
		add_political_power = 100
		add_stability = 0.05
		ai_chance = {
			base = 0
			modifier = {
				add = 100
				has_government = democratic
			}
		}
	}
}

news_event = {
	id = department_of_state.36
	title = department_of_state.36.t
	desc = department_of_state.36.d
	picture = GFX_chinese_siberia
	is_triggered_only = yes
	major = yes

	option = { # Okay
		name = department_of_state.36.a
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.37
	title = department_of_state.37.t
	desc = department_of_state.37.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes

	option = {
		name = department_of_state.37.a
		log = "[GetDateText]: [This.GetName]: department_of_state.37.a executed"
		# Send country event to all Russian tags
		custom_effect_tooltip = USA_creates_new_russia_TT
		if = {
			limit = {
				NOT = {
					has_global_flag = kaliningrad_conference
				}
			}
			news_event = department_of_state.40
		}
		else = {
			news_event = department_of_state.47
		}
		hidden_effect = {
			USA_FP_CSB_ESB_CORES = yes
			SOV = {
				country_event = {
					id = department_of_state.3800
					days = 2
				}
			}
			every_country = {
				limit = {
					original_tag = SOV
					is_subject = yes
				}
				country_event = department_of_state.38
			}
			every_core_state = {
				limit = {
					is_core_of = SOV
					NOT = {
						OR = {
							is_core_of = ESB
							is_core_of = CSB
						}
					}
				}
				add_core_of = RUS
			}
			RUS = {
				country_event = {
					id = department_of_state.38001
					days = 3
				}
				set_cosmetic_tag = RUS_RFOR
				set_country_flag = disable_different_country_flag
				set_politics = {
					ruling_party = democratic
					elections_allowed = yes
				}
				set_political_party = {
					ideology = democratic
					popularity = 100
				}
				set_temp_variable = { party_index = 1 }
				set_temp_variable = { party_popularity_increase = 1.00 }
				change_relative_party_popularity = yes
				set_temp_variable = { rul_party_temp = 1 }
				change_ruling_party_effect = yes
				create_country_leader = {
					name = "Stabilisation Force Of Russia"
					picture = "gfx/leaders/SOV/RUS_nato_admin.dds"
					ideology = conservatism
					traits = {
						western_conservatism
					}
				}
				USA = {
					country_event = {
						id = department_of_state.48
						days = 100
					}
				}
			}
		}
		ai_chance = {
			base = 15
		}
	}

	option = { # Okay
		name = department_of_state.37.b
		ai_chance = {
			base = 0
		}
	}
}

country_event = {
	id = department_of_state.38
	title = department_of_state.38.t
	desc = department_of_state.38.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes

	option = {
		name = department_of_state.38.a
		log = "[GetDateText]: [This.GetName]: department_of_state.38.a executed"
		ROOT = {
			OVERLORD = {
				country_event = {
					id = department_of_state.39
					days = 1
				}
			}
		}
		ai_chance = { base = 15 }
	}
}

country_event = {
	id = department_of_state.3800
	title = department_of_state.3800.t
	desc = department_of_state.3800.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = department_of_state.3800.a
		log = "[GetDateText]: [This.GetName]: department_of_state.3800.a executed"
		every_core_state = {
			limit = {
				is_core_of = SOV
				NOT = {
					OR = {
						is_core_of = ESB
						is_core_of = CSB
					}
				}
			}
			add_core_of = RUS
		}
		RUS = {
			annex_country = { target = SOV transfer_troops = yes }
			annex_country = { target = UDM transfer_troops = yes }
			annex_country = { target = CHU transfer_troops = yes }
		}
		ai_chance = { base = 15 }
	}
}

country_event = {
	id = department_of_state.38001
	title = department_of_state.38001.t
	desc = department_of_state.38001.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = department_of_state.38001.a
		log = "[GetDateText]: [This.GetName]: department_of_state.38001.a executed"
		every_core_state = {
			limit = {
				is_core_of = SOV
				NOT = {
					OR = {
						is_core_of = ESB
						is_core_of = CSB
					}
				}
			}
			add_core_of = RUS
			remove_core_of = SOV
		}
		# Randomly select any nation that NATO_member and is faction leader.
		random_country = {
			limit = {
				has_idea = NATO_member
				is_faction_leader = yes
			}
			add_to_faction = RUS
			add_to_faction = YAM
			add_to_faction = MOV
		}
		RUS = {
				add_ideas = NATO_member
			}
		YAM = {
				add_ideas = NATO_member
			}
		MOV = {
				add_ideas = NATO_member
			}
			if = {
				limit = {
					676 = {
						OR = {
							is_controlled_by = CSB
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				676 = {
					transfer_state_to = URA
					add_core_of = URA
				}
			}
			if = {
				limit = {
					664 = {
						OR = {
							is_controlled_by = CSB
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				664 = {
					transfer_state_to = BSH
					add_core_of = BSH
				}
			}
			if = {
				limit = {
					1118 = {
						OR = {
							is_controlled_by = CSB
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				1118 = {
					transfer_state_to = URA
					add_core_of = URA
				}
			}
			if = {
				limit = {
					1071 = {
						OR = {
							is_controlled_by = CSB
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				1071 = {
					transfer_state_to = URA
					add_core_of = URA
				}
			}
			if = {
				limit = {
					675 = {
						OR = {
							is_controlled_by = CSB
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				675 = {
					transfer_state_to = URA
					add_core_of = URA
				}
			}
			if = {
				limit = {
					664 = {
						OR = {
							is_controlled_by = BSH
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				664 = {
					transfer_state_to = URA
					add_core_of = URA
				}
			}
			if = {
				limit = {
					658 = {
						OR = {
							is_controlled_by = BSH
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				658 = {
					transfer_state_to = URA
					add_core_of = URA
				}
			}
			##DON
			if = {
				limit = {
					668 = {
						OR = {
							is_controlled_by = DON
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				668 = {
					transfer_state_to = KUB
					add_core_of = KUB
				}
			}
			if = {
				limit = {
					1140 = {
						OR = {
							is_controlled_by = DON
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				1140 = {
					transfer_state_to = KUB
					add_core_of = KUB
				}
			}
			if = {
				limit = {
					1127 = {
						OR = {
							is_controlled_by = DON
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				1127 = {
					transfer_state_to = KUB
					add_core_of = KUB
				}
			}
			if = {
				limit = {
					670 = {
						OR = {
							is_controlled_by = DON
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				670 = {
					transfer_state_to = GOR
					add_core_of = GOR
				}
			}
			#mountian Republic
			if = {
				limit = {
					1125 = {
						OR = {
							is_controlled_by = DON
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				1125 = {
					transfer_state_to = GOR
					add_core_of = GOR
				}
			}
			if = {
				limit = {
					674 = {
						OR = {
							is_controlled_by = DON
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				674 = {
					transfer_state_to = GOR
					add_core_of = GOR
				}
			}
			if = {
				limit = {
					673 = {
						OR = {
							is_controlled_by = DON
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				673 = {
					transfer_state_to = GOR
					add_core_of = GOR
				}
			}
			if = {
				limit = {
					1126 = {
						OR = {
							is_controlled_by = DON
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				1126 = {
					transfer_state_to = GOR
					add_core_of = GOR
				}
			}
			if = {
				limit = {
					672 = {
						OR = {
							is_controlled_by = DON
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				672 = {
					transfer_state_to = GOR
					add_core_of = GOR
				}
			}
			if = {
				limit = {
					671 = {
						OR = {
							is_controlled_by = DON
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				671 = {
					transfer_state_to = GOR
					add_core_of = GOR
				}
			}
			#DON
			if = {
				limit = {
					1107 = {
						OR = {
							is_controlled_by = DON
							AND = {
								is_controlled_by = SOV
								NOT = {
									SOV = {
										is_subject = yes
									}
								}
							}
							is_controlled_by = RUS
						}
					}
				}
				1107 = {
					transfer_state_to = KLM
					add_core_of = KLM
				}
			}
			if = {
				limit = {
					647 = {
						is_controlled_by = RUS
					}
				}
				647 = {
					transfer_state_to = KAE
					add_core_of = KAE
				}
			}
			643 = {
				transfer_state_to = KAE
				add_core_of = KAE
			}
			683 = {
				transfer_state_to = NEE
			}
			KLM = {
				set_temp_variable = { rul_party_temp = 3 }
				set_temp_variable = { disable_elections = 1 }
				change_ruling_party_effect = yes
				set_temp_variable = { party_index = 3 }
				set_temp_variable = { party_popularity_increase = 1 }
				set_temp_variable = { temp_outlook_increase = 1 }
				change_relative_party_popularity = yes
				create_country_leader = {
					name = "Nikolay Kozitsyn"
					picture = "gfx/leaders/SOV/SUB/KLM_arslang_sandzhiev.dds"
					ideology = conservatism
					traits = {
						western_conservatism
					}
				}
			}
			GOR = {
				set_temp_variable = { rul_party_temp = 22 }
				set_temp_variable = { disable_elections = 1 }
				change_ruling_party_effect = yes
				set_cosmetic_tag = GOR_PR
				retire_country_leader = yes
				set_temp_variable = { GOR_Zelimkhan_Yandarbiyev = 0 }
				if = {
					limit = { check_variable = { global.year < 2004 } }
					add_to_temp_variable = { GOR_Zelimkhan_Yandarbiyev = 40 }
				}
				random_list = {
					60 = {
						create_country_leader = {
							name = "Nikolay Kozitsyn"
							picture = "gfx/leaders/CHE/CHE_yuri_shanibov.dds"
							ideology = Nat_Autocracy
							traits = {
								nationalist_Nat_Autocracy
							}
						}
					}
					GOR_Zelimkhan_Yandarbiyev = {
						create_country_leader = {
							name = "Zelimkhan Yandarbiyev"
							picture = "gfx/leaders/CHE/CHE_zelimkhan_yandarbiyev.dds"
							ideology = Nat_Autocracy
							traits = {
								nationalist_Nat_Autocracy
							}
						}
					}
				}
				set_temp_variable = { party_index = 22 }
				set_temp_variable = { party_popularity_increase = 1 }
				set_temp_variable = { temp_outlook_increase = 1 }
				change_relative_party_popularity = yes
				set_temp_variable = { party_index = 16 }
				set_temp_variable = { party_popularity_increase = 0.15 }
				set_temp_variable = { temp_outlook_increase = 0.15 }
				change_relative_party_popularity = yes
				set_temp_variable = { party_index = 8 }
				set_temp_variable = { party_popularity_increase = 0.02 }
				set_temp_variable = { temp_outlook_increase = 0.02 }
				change_relative_party_popularity = yes
				set_temp_variable = { GOR_Zelimkhan_Yandarbiyev = 0 }
			}
			DON = {
				set_temp_variable = { rul_party_temp = 22 }
				set_temp_variable = { disable_elections = 1 }
				change_ruling_party_effect = yes
				retire_country_leader = yes
				random_list = {
					30 = {
						set_cosmetic_tag = DON_neutrality
						create_country_leader = {
							name = "Nikolay Kozitsyn"
							picture = "gfx/leaders/LPR/Nikolai_Kozitsyn.dds"
							ideology = Nat_Autocracy
							traits = {
								nationalist_Nat_Autocracy
							}
						}
					}
					70 = {
						create_country_leader = {
							name = "Nikolay Kozitsyn"
							picture = "gfx/leaders/LPR/Pavel_Dremov.dds"
							ideology = Nat_Autocracy
							traits = {
								nationalist_Nat_Autocracy
							}
						}
					}
				}
				set_temp_variable = { party_index = 22 }
				set_temp_variable = { party_popularity_increase = 1 }
				set_temp_variable = { temp_outlook_increase = 1 }
				change_relative_party_popularity = yes
				set_temp_variable = { party_index = 16 }
				set_temp_variable = { party_popularity_increase = 0.23 }
				set_temp_variable = { temp_outlook_increase = 0.23 }
				change_relative_party_popularity = yes
				set_temp_variable = { party_index = 8 }
				set_temp_variable = { party_popularity_increase = 0.15 }
				set_temp_variable = { temp_outlook_increase = 0.15 }
				change_relative_party_popularity = yes
				random = {
					chance = 5
					annex_country = {
						target = KUB
					}
					drop_cosmetic_tag = yes
					clear_variable = dynamic_flag_variant
					set_cosmetic_tag = KUB_kazakia
				}
			}
			KUB = {
				set_cosmetic_tag = KUB_PR
				set_temp_variable = { rul_party_temp = 6 }
				set_temp_variable = { disable_elections = 1 }
				change_ruling_party_effect = yes
				retire_country_leader = yes
				create_country_leader = {
					name = "Nikolay Kozitsyn"
					picture = "gfx/leaders/SOV/KUB/KUB_vladimir_gromov.dds"
					ideology = Conservative
					traits = {
						emerging_Autocracy
					}
				}
				set_temp_variable = { party_index = 6 }
				set_temp_variable = { party_popularity_increase = 1 }
				set_temp_variable = { temp_outlook_increase = 1 }
				change_relative_party_popularity = yes
				set_temp_variable = { party_index = 18 }
				set_temp_variable = { party_popularity_increase = 0.23 }
				set_temp_variable = { temp_outlook_increase = 0.23 }
				change_relative_party_popularity = yes
				set_temp_variable = { party_index = 22 }
				set_temp_variable = { party_popularity_increase = 0.15 }
				set_temp_variable = { temp_outlook_increase = 0.15 }
				change_relative_party_popularity = yes
			}
			RUS = {
				set_autonomy = {
					target = TAT
					autonomy_state = autonomy_satellite_state_colored
				}
				set_autonomy = {
					target = URA
					autonomy_state = autonomy_satellite_state_colored
				}
				set_autonomy = {
					target = NEE
					autonomy_state = autonomy_satellite_state_colored
				}
				set_autonomy = {
					target = KAE
					autonomy_state = autonomy_satellite_state_colored
				}
				set_autonomy = {
					target = KOM
					autonomy_state = autonomy_satellite_state_colored
				}
				set_autonomy = {
					target = BSH
					autonomy_state = autonomy_satellite_state_colored
				}
			}
			URA = {
				set_temp_variable = { rul_party_temp = 20 }
				set_temp_variable = { disable_elections = 1 }
				change_ruling_party_effect = yes
				set_temp_variable = { party_index = 20 }
				set_temp_variable = { party_popularity_increase = 1 }
				set_temp_variable = { temp_outlook_increase = 1 }
				change_relative_party_popularity = yes
			}
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.39
	title = department_of_state.39.t
	desc = department_of_state.39.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes

	option = { # Surrender Russian Puppets
		name = department_of_state.39.a
		log = "[GetDateText]: [This.GetName]: department_of_state.39.a executed"
		hidden_effect = {
			news_event = department_of_state.41
			RUS = {
				annex_country = {
					target = FROM
				}
			}
			every_controlled_state = {
				limit = {
					is_core_of = SOV
					is_controlled_by = ROOT
				}
				transfer_state_to = RUS
			}
		}
		ai_chance = {
			base = 15
		}
	}

	option = { # Don't Surrender Russian Puppets
		name = department_of_state.39.b
		ai_chance = {
			base = 0
		}
	}
}

news_event = {
	id = department_of_state.40
	title = department_of_state.40.t
	desc = department_of_state.40.d
	picture = GFX_nato_summit_2
	is_triggered_only = yes
	major = yes

	option = { # Okay
		name = department_of_state.40.a
		ai_chance = {
			base = 15
		}
	}
}

news_event = {
	id = department_of_state.41
	title = department_of_state.41.t
	desc = department_of_state.41.d
	picture = GFX_nato_siberia
	is_triggered_only = yes
	major = yes

	option = { # Okay
		name = department_of_state.41.a
		log = "[GetDateText]: [This.GetName]: department_of_state.41.a executed"
		hidden_effect = {
			RUS = { set_capital = { state = 644 } }
		}
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.42
	is_triggered_only = yes
	hidden = yes

	immediate = {
		every_country = {
			limit = {
				original_tag = SOV
				is_subject = yes
			}
			country_event = {
				id = department_of_state.43
				days = 1
			}
		}
	}
}
country_event = {
	id = department_of_state.43
	is_triggered_only = yes
	hidden = yes

	immediate = {
		if = {
			limit = { is_subject = yes }
			OVERLORD = { set_country_flag = NATO_RUS_puppet }
		}
	}
}

country_event = {
	id = department_of_state.45
	title = department_of_state.45.t
	desc = department_of_state.45.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.45.a
		log = "[GetDateText]: [This.GetName]: department_of_state.45.a executed"
		hidden_effect = {
			every_owned_state = {
				limit = {
					is_core_of = CSB
				}
				THIS = {
					transfer_state_to = CSB
				}
			}
			every_owned_state = {
				limit = {
					is_core_of = RUS
					NOT = {
						OR = {
							is_core_of = CSB
							is_core_of = ESB
							is_core_of = KOM
							is_core_of = KAE
							is_core_of = TAT
							is_core_of = BSH
							is_core_of = DON
						}
					}
				}
				THIS = {
					transfer_state_to = RUS
				}
			}
			every_owned_state = {
				limit = {
					is_core_of = ESB
				}
				THIS = {
					transfer_state_to = ESB
				}
			}
			every_owned_state = {
				limit = {
					is_core_of = KOM
				}
				THIS = {
					transfer_state_to = KOM
				}
			}
			every_owned_state = {
				limit = {
					is_core_of = KOM
				}
				THIS = {
					transfer_state_to = KOM
				}
			}
			every_owned_state = {
				limit = {
					is_core_of = KAE
				}
				THIS = {
					transfer_state_to = KAE
				}
			}
			every_owned_state = {
				limit = {
					is_core_of = TAT
				}
				THIS = {
					transfer_state_to = TAT
				}
			}
			every_owned_state = {
				limit = {
					is_core_of = NEE
				}
				THIS = {
					transfer_state_to = NEE
				}
			}
			every_owned_state = {
				limit = {
					is_core_of = URA
				}
				THIS = {
					transfer_state_to = URA
				}
			}
			every_owned_state = {
				limit = {
					is_core_of = BSH
				}
				THIS = {
					transfer_state_to = BSH
				}
			}
		}
		ai_chance = {
			base = 15
		}
	}

	option = { # No!
		name = department_of_state.45.b
		ai_chance = {
			base = 0
		}
	}
}

news_event = {
	id = department_of_state.47
	title = department_of_state.47.t
	desc = department_of_state.47.d
	picture = GFX_nato_summit_2
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { # Okay
		name = department_of_state.47.a
		ai_chance = {
			base = 15
		}
	}
}

# Ushering In A New Leader
country_event = {
	id = department_of_state.48
	title = department_of_state.48.t
	desc = department_of_state.48.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	# Okay
	option = {
		name = department_of_state.48.a
		log = "[GetDateText]: [This.GetName]: department_of_state.48.a executed"
		hidden_effect = {
			RUS = {
				create_country_leader = {
					name = "Alexei Navalny"
					picture = "gfx/leaders/SOV/navalny.dds"
					ideology = conservatism
					traits = {
						western_conservatism
					}
				}
			}
		}
		ai_chance = { base = 15 }
	}
}

# United States Approaches US With An Offer
country_event = {
	id = department_of_state.49
	title = department_of_state.49.t
	desc = department_of_state.49.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes

	# Okay
	option = {
		name = department_of_state.49.a
		log = "[GetDateText]: [This.GetName]: department_of_state.49.a executed"
		add_ideas = faction_seato_alliance
		if = { limit = { is_faction_leader = yes }
			dismantle_faction = yes
		}
		else_if = { limit = { is_in_faction = yes }
			leave_faction = yes
		}
		create_faction_from_template = faction_template_seato
		news_event = department_of_state.51
		TAI = {
			country_event = {
				id = department_of_state.50
				days = 2
			}
		}
		KOR = {
			country_event = {
				id = department_of_state.50
				days = 2
			}
		}
		ai_chance = {
			base = 5
			modifier = {
				has_government = democratic
				add = 100
			}
			modifier = {
				has_opinion = {
					target = USA
					value > 19
				}
				add = 20
			}
		}
	}

	option = { # Okay
		name = department_of_state.49.b
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.50
	title = department_of_state.50.t
	desc = department_of_state.50.d
	picture = GFX_politics_negotiations
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.50.a
		log = "[GetDateText]: [This.GetName]: department_of_state.50.a executed"
		JAP = {
			country_event = md4.17
		}
		ai_chance = {
			base = 15
			modifier = {
				OR = {
					has_government = democratic
					has_government = neutrality
				}
				add = 500
			}
		}
	}

	option = { # Okay
		name = department_of_state.50.b
		log = "[GetDateText]: [This.GetName]: department_of_state.50.b executed"
		JAP = {
			country_event = md4.18
		}
		ai_chance = {
			base = 5
			modifier = {
				NOT = { has_government = democratic }
				NOT = { has_government = neutrality }
				add = 500
			}
		}
	}
}

news_event = {
	id = department_of_state.51
	title = department_of_state.51.t
	desc = department_of_state.51.d
	picture = GFX_japanese_exercise
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { # Okay
		name = department_of_state.51.a
		trigger = {
			OR = {
				has_government = democratic
				has_government = neutrality
			}
		}
		ai_chance = {
			base = 15
		}
	}

	option = { # Okay
		name = department_of_state.51.b
		trigger = {
			OR = {
				has_government = communism
				has_government = nationalist
				has_government = fascism
			}
		}
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.52
	title = department_of_state.52.t
	desc = department_of_state.52.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.52.a
		log = "[GetDateText]: [This.GetName]: department_of_state.52.a executed"
		add_ideas = USA_SAU_aid
		USA = {
			country_event = department_of_state.53
		}
		ai_chance = {
			base = 15
		}
	}

	option = { # Okay
		name = department_of_state.52.b
		log = "[GetDateText]: [This.GetName]: department_of_state.52.b executed"
		USA = {
			country_event = department_of_state.54
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.53
	title = department_of_state.53.t
	desc = department_of_state.53.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.53.a
		log = "[GetDateText]: [This.GetName]: department_of_state.53.a executed"
		set_temp_variable = { percent_change = 4 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = FROM }
		change_influence_percentage = yes
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.54
	title = department_of_state.54.t
	desc = department_of_state.54.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.54.a
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.55
	title = department_of_state.55.t
	desc = department_of_state.55.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.55.a
		log = "[GetDateText]: [This.GetName]: department_of_state.55.a executed"
		USA = {
			country_event = {
				id = department_of_state.56
				days = 1
			}
		}
		news_event = department_of_state.58
		declare_war_on = {
			target = PMR
			type = annex_everything
		}
		ai_chance = {
			base = 1
			modifier = {
				add = 100
				PMR = {
					is_in_faction = no
				}
			}
		}
	}

	option = { # Okay
		name = department_of_state.55.b
		log = "[GetDateText]: [This.GetName]: department_of_state.55.b executed"
		USA = {
			country_event = {
				id = department_of_state.57
				days = 1
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				add = 100
				PMR = {
					is_in_faction_with = SOV
				}
			}
			modifier = {
				add = 100
				PMR = {
					is_subject_of = SOV
				}
			}
		}
	}
}

country_event = {
	id = department_of_state.56
	title = department_of_state.56.t
	desc = department_of_state.56.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.56.a
		log = "[GetDateText]: [This.GetName]: department_of_state.56.a executed"
		add_relation_modifier = {
			target = MLV
			modifier = generic_increased_military_support
		}
		hidden_effect = {
			SOV = {
				add_relation_modifier = {
					target = PMR
					modifier = generic_increased_military_support
				}
			}
		}
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.57
	title = department_of_state.57.t
	desc = department_of_state.57.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.57.a
		ai_chance = {
			base = 15
		}
	}
}

news_event = {
	id = department_of_state.58
	title = department_of_state.58.t
	desc = department_of_state.58.d
	picture = GFX_moldovan_army
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { # Okay
		name = department_of_state.58.a
		trigger = {
			OR = {
				has_government = democratic
				has_government = neutrality
			}
		}
		ai_chance = {
			base = 15
		}
	}

	option = { # Okay
		name = department_of_state.58.b
		trigger = {
			OR = {
				has_government = communism
				has_government = nationalist
				has_government = fascism
			}
		}
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.59
	title = department_of_state.59.t
	desc = department_of_state.59.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.59.a
		log = "[GetDateText]: [This.GetName]: department_of_state.59.a executed"
		effect_tooltip = {
			decrease_economic_growth = yes
		}
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.60
	title = department_of_state.60.t
	desc = department_of_state.60.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.60.a
		log = "[GetDateText]: [This.GetName]: department_of_state.60.a executed"
		increase_military_spending = yes
		block_defence_decrease = yes
		ai_chance = {
			base = 15
			modifier = {
				add = 20
				has_opinion = { target = USA value > 20 }
			}
		}
	}

	option = { # No
		name = department_of_state.60.b
		log = "[GetDateText]: [This.GetName]: department_of_state.60.b executed"
		USA = {
			country_event = department_of_state.61
		}
		custom_effect_tooltip = TT_IF_THEY_ACCEPT
		effect_tooltip = {
			add_timed_idea = {
				idea = USA_tariff
				days = 365
			}
		}
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.61
	title = department_of_state.61.t
	desc = department_of_state.61.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.61.a
		log = "[GetDateText]: [This.GetName]: department_of_state.61.a executed"
		FROM = {
			add_timed_idea = {
				idea = USA_tariff
				days = 365
			}
		}
		ai_chance = {
			base = 15
		}
	}

	option = { # No
		name = department_of_state.61.b
		ai_chance = {
			base = 1
		}
	}
}

country_event = {
	id = department_of_state.62
	title = department_of_state.62.t
	desc = department_of_state.62.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.62.a
		log = "[GetDateText]: [This.GetName]: department_of_state.62.a executed"
		set_temp_variable = { percent_change = 30 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = PER }
		change_influence_percentage = yes
		newline = yes
		add_ideas = PER_restrictions_on_nuclear_weapons
		custom_effect_tooltip = PER_no_more_nukes_TT
		set_country_flag = no_more_nuke
		hidden_effect = {
			add_equipment_to_stockpile = {
				type = nuclear_missile_equipment_1
				amount = -10000
			}
			add_equipment_to_stockpile = {
				type = nuclear_missile_equipment_2
				amount = -10000
			}
			add_equipment_to_stockpile = {
				type = nuclear_missile_equipment_3
				amount = -10000
			}
			add_equipment_to_stockpile = {
				type = nuclear_missile_equipment_4
				amount = -10000
			}
			add_equipment_to_stockpile = {
				type = nuclear_missile_equipment_5
				amount = -10000
			}
			add_equipment_to_stockpile = {
				type = nuclear_missile_equipment_6
				amount = -10000
			}
			add_equipment_to_stockpile = {
				type = nuclear_missile_equipment_7
				amount = -10000
			}
			add_equipment_to_stockpile = {
				type = nuclear_missile_equipment_8
				amount = -10000
			}
		}
		USA = {
			country_event = department_of_state.64
		}
		ai_chance = {
			base = 0
		}
	}

	option = { # No
		name = department_of_state.62.b
		log = "[GetDateText]: [This.GetName]: department_of_state.62.b executed"
		USA = {
			country_event = {
				id = department_of_state.63
				days = 1
			}
		}
		ai_chance = {
			base = 10
		}
	}
}

country_event = {
	id = department_of_state.63
	title = department_of_state.63.t
	desc = department_of_state.63.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.63.a
		log = "[GetDateText]: [This.GetName]: department_of_state.63.a executed"
		declare_war_on = {
			target = PER
			type = topple_government
		}
		activate_mission = PER_american_iranian_war
		news_event = department_of_state.65
		ai_chance = {
			base = 15
		}
	}

	option = { # No
		name = department_of_state.63.b
		ai_chance = {
			base = 0
		}
	}
}

country_event = {
	id = department_of_state.64
	title = department_of_state.64.t
	desc = department_of_state.64.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.64.a
		ai_chance = {
			base = 15
		}
	}
}

news_event = {
	id = department_of_state.65
	title = department_of_state.65.t
	desc = department_of_state.65.d
	picture = GFX_soldiers_helicopter
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { # Okay
		name = department_of_state.65.a
		trigger = {
			OR = {
				has_government = democratic
				has_government = neutrality
			}
		}
		ai_chance = {
			base = 15
		}
	}

	option = { # Okay
		name = department_of_state.65.b
		trigger = {
			OR = {
				has_government = communism
				has_government = nationalist
				has_government = fascism
			}
		}
		ai_chance = {
			base = 15
		}
	}
}

news_event = {
	id = department_of_state.66
	title = department_of_state.66.t
	desc = department_of_state.66.d
	picture = GFX_american_troops_withdrawal
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { # Okay
		name = department_of_state.66.a
		ai_chance = {
			base = 15
		}
	}
}

news_event = {
	id = department_of_state.67
	title = department_of_state.67.t
	desc = department_of_state.67.d
	picture = GFX_american_troops_victory
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { # Okay
		name = department_of_state.67.a
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.68
	title = department_of_state.68.t
	desc = department_of_state.68.d
	picture = GFX_generic_soldiers
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.68.a
		log = "[GetDateText]: [This.GetName]: department_of_state.68.a executed"
		PER = {
			give_resource_rights = { receiver = USA state = 400 resources = { oil } }
			give_resource_rights = { receiver = USA state = 1146 resources = { oil } }
			give_resource_rights = { receiver = USA state = 978 resources = { oil } }
			give_resource_rights = { receiver = USA state = 399 resources = { oil } }
		}
		1119 = {
			transfer_state_to = USA
		}
		hidden_effect = {
			country_event = {
				id = department_of_state.70
				days = 90
			}
		}
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.69
	title = department_of_state.69.t
	desc = department_of_state.69.d
	picture = GFX_generic_soldiers
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.69.a
		log = "[GetDateText]: [This.GetName]: department_of_state.69.a executed"
		set_temp_variable = { party_popularity_increase = 0.2 }
		set_temp_variable = { temp_outlook_increase = 0.2 }
		change_relative_party_popularity = yes
		set_temp_variable = { percent_change = -10 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = PER }
		change_influence_percentage = yes
		set_temp_variable = { percent_change = -10 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = IRQ }
		change_influence_percentage = yes
		set_temp_variable = { percent_change = -10 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = JOR }
		change_influence_percentage = yes
		set_temp_variable = { percent_change = -10 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = SYR }
		change_influence_percentage = yes
		set_temp_variable = { percent_change = -10 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = LEB }
		change_influence_percentage = yes
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.70
	title = department_of_state.70.t
	desc = department_of_state.70.d
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.70.a
		log = "[GetDateText]: [This.GetName]: department_of_state.70.a executed"
		PER = {
			create_country_leader = {
				name = "Reza Shah Pahlavi II "
				picture = "pahlavi_old.dds"
				ideology = Western_Autocracy
				desc = "PER_pahlavi_desc"
				traits = {
					western_Western_Autocracy
					king
					geopolitical_thinker
					shahanshah
				}
			}
			hidden_effect = {
				drop_cosmetic_tag = yes
				clear_variable = dynamic_flag_variant
				set_temp_variable = { rul_party_temp = 0 }
				change_ruling_party_effect = yes
				set_temp_variable = { party_index = 0 }
				set_temp_variable = { party_popularity_increase = 0.15 }
				set_temp_variable = { temp_outlook_increase = 0.25 }
				change_relative_party_popularity = yes
				country_event = {
					id = department_of_state.71
					days = 70
				}
			}
		}
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.71
	title = department_of_state.71.t
	desc = department_of_state.71.d
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.71.a
		log = "[GetDateText]: [This.GetName]: department_of_state.71.a executed"
		news_event = department_of_state.72
		create_dynamic_country = {
			original_tag = PER
			set_country_flag = PER_akhoond_flag
			copy_tag = PER
			set_cosmetic_tag = PER_revenge_flag
			mark_formed_country_formable = yes
			retire_country_leader = yes
			set_popularities = {
				communism = 94
				democratic = 6
			}
			set_politics = {
				ruling_party = communism
				last_election = "1997.6.8"
				election_frequency = 48
				elections_allowed = no
			}
			start_politics_input = yes
			### Party Popularities
			set_variable = { party_pop_array^0 = 0.06 } #Western_Autocracy
			set_variable = { party_pop_array^8 = 0.47 } #Mod_Vilayat_e_Faqih -> Reformists
			set_variable = { party_pop_array^9 = 0.47 } #Vilayat_e_Faqih -> Principalists
			### Ruling Party
			set_variable = { ruling_party = 6 }
			startup_politics = yes
			load_focus_tree = { tree = iran_focus keep_completed = yes }
			create_country_leader = {
				name = "Ayatollah Mohammad-Taqi Mesbah-Yazdi"
				picture = "taqi_yazdi.dds"
				ideology = Autocracy
				traits = {
					emerging_Vilayat_e_Faqih
					guerrilla_leader
					cleric
					geopolitical_thinker
					sly
					stubborn
					anti_zionist
				}
			}
		}
		IRI = {
			ingame_startup_nations_effect = yes
			division_template = {
				name = "Niru-ye Daryayi Sepah-e Pasdaran" #Sepah
				regiments = {
					Special_Forces = { x = 0 y = 0 }
					L_Marine_Bat = { x = 0 y = 1 }
					L_Marine_Bat = { x = 0 y = 2 }
					L_Marine_Bat = { x = 0 y = 3 }
					L_Marine_Bat = { x = 0 y = 4 }
					L_Marine_Bat = { x = 1 y = 0 }
					Arty_Bat = { x = 1 y = 1 }
				}
				priority = 2
			}
			division_template = {
				name = "Niru-ye Qods-e Sepah-e Pasdaran" #Sepah
				regiments = {
					Special_Forces = { x = 0 y = 0 }
					Special_Forces = { x = 0 y = 1 }
					Special_Forces = { x = 0 y = 2 }
					Special_Forces = { x = 0 y = 3 }
					Special_Forces = { x = 1 y = 0 }
					Special_Forces = { x = 1 y = 1 }
					Special_Forces = { x = 1 y = 2 }
					Special_Forces = { x = 1 y = 3 }
					Special_Forces = { x = 2 y = 0 }
					Special_Forces = { x = 2 y = 1 }
				}
				priority = 2
			}
			division_template = {
				name = "Lashkar-e Motorizeh Sepah-e Pasdaran" #Sepah
				regiments = {
					Mot_Militia_Bat = { x = 0 y = 0 }
					Mot_Militia_Bat = { x = 0 y = 1 }
					Mot_Inf_Bat = { x = 1 y = 0 }
					L_Inf_Bat = { x = 1 y = 1 }
					SP_Arty_Bat = { x = 1 y = 2 }
				}
				support = {
					Mot_Recce_Comp = { x = 0 y = 0 }
					H_Engi_Comp = { x = 0 y = 1 }
					SP_AA_Battery = { x = 0 y = 2 }
				}
				priority = 2
			}
			division_template = {
				name = "Lashkar-e Zerehiye Sepah-e Pasdaran" #Sepah
				regiments = {
					armor_Bat = { x = 0 y = 0 }
					Arm_Inf_Bat = { x = 1 y = 0 }
					Mot_Militia_Bat = { x = 1 y = 1 }
					SP_Arty_Bat = { x = 1 y = 2 }
					SP_AA_Bat = { x = 1 y = 3 }
				}
				support = {
					Arm_Recce_Comp = { x = 0 y = 0 }
					H_Engi_Comp = { x = 0 y = 1 }
				}
				priority = 2
			}
			division_template = {
				name = "Lashkar-e Mekanizeh Sepah-e Pasdaran" #Sepah
				regiments = {
					Mech_Inf_Bat = { x = 0 y = 0 }
					Mot_Militia_Bat = { x = 0 y = 1 }
					Mot_Militia_Bat = { x = 0 y = 2 }
					SP_Arty_Bat = { x = 1 y = 0 }
					SP_AA_Bat = { x = 1 y = 1 }
					armor_Bat = { x = 2 y = 0 }
				}
				support = {
					Mot_Recce_Comp = { x = 0 y = 0 }
					L_Engi_Comp = { x = 0 y = 1 }
				}
				priority = 2
			}
			division_template = {
				name = "Lashkar-e Komando-ye Sepah-e Pasdaran" #Sepah
				regiments = {
					Special_Forces = { x = 0 y = 0 }
					Special_Forces = { x = 0 y = 1 }
					Special_Forces = { x = 0 y = 2 }
					Special_Forces = { x = 0 y = 3 }
					Special_Forces = { x = 1 y = 0 }
					SP_Arty_Bat = { x = 1 y = 1 }
				}
				support = {
					L_Engi_Comp = { x = 0 y = 0 }
					#SP_AA_Battery = { x = 0 y = 1 }
				}
				priority = 2
			}
			division_template = {
				name = "Lashkar-e Havabord-e Sepah-e Pasdaran" #Sepah
				regiments = {
					Special_Forces = { x = 0 y = 0 }
					L_Air_Inf_Bat = { x = 0 y = 1 }
				}
				support = {
					L_Recce_Comp = { x = 0 y = 0 }
				}
				priority = 2
			}
			transfer_state = 402
			transfer_state = 1150
			transfer_state = 1151
			transfer_state = 1149
			transfer_state = 977
			transfer_state = 1147
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"Sepah-e Quds\" division_template = \"Niru-ye Qods-e Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"Tofangdarane Daryayee-ye Sepah\" division_template = \"Niru-ye Daryayi Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"23rd. Tip-e 'al-Mahdi'\" division_template = \"Lashkar-e Havabord-e Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"110th. Tip-e 'Salman'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"83rd. Tip-e 'Imam Sadiq'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"82nd. Tip-e 'Sahab Alamar'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"Tip-e 71st\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"Tip-e 71st\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"57th. Tip-e 'Abo-Fazl'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"44th. Tip-e 'Qamr Bani Hashem\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"44th. Tip-e 'Qamr Bani Hashem\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"42nd. Tip-e 'Ansar al-Rasool'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"32nd. Tip-e 'Ansar al-Hussein'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"29th. Tip-e 'Nabi Akram'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"18th. Tip-e 'al-Ghadir'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"29th. Tip-e 'Nabi Akram'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"12th. Tip-e 'Qaem al-Mohammed'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"60th. Tip-e 'Ammar Yasir'\" division_template = \"Lashkar-e Zerehiye Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			capital_scope = {
				create_unit = {
					division = "name = \"21st. Tip-e 'Imam Reza'\" division_template = \"Lashkar-e Zerehiye Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
				create_unit = {
					division = "name = \"20th. Tip-e 'Ramazan'\" division_template = \"Lashkar-e Zerehiye Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
				create_unit = {
					division = "name = \"25th. Lashkar-e 'Karbala'\" division_template = \"Lashkar-e Komando-ye Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = IRI
				}
			}
			declare_war_on = {
				target = PER
				type = civil_war
			}
		}
		ai_chance = {
			base = 15
		}
	}

	option = { # Okay
		name = department_of_state.71.b
		log = "[GetDateText]: [This.GetName]: department_of_state.71.b executed"
		set_country_flag = PER_stop_elections
		news_event = department_of_state.72
		hidden_effect = {
			add_ideas = PER_sayyid_ali_hosseini_khamenei
			set_cosmetic_tag = PER_revenge_flag
			mark_formed_country_formable = yes
			create_dynamic_country = {
				original_tag = PER
				set_country_flag = PER_akhoond_flag
				copy_tag = PER
				set_cosmetic_tag = PER_artesh_government
				mark_formed_country_formable = yes
				retire_country_leader = yes
				set_popularities = {
					nationalist = 94
					democratic = 6
				}
				set_politics = {
					ruling_party = nationalist
					last_election = "1997.6.8"
					election_frequency = 48
					elections_allowed = no
				}
				start_politics_input = yes
				### Party Popularities
				set_variable = { party_pop_array^0 = 0.06 } #Western_Autocracy
				set_variable = { party_pop_array^22 = 0.94 } #Nat_Autocracy
				### Ruling Party
				set_variable = { ruling_party = 22 }
				startup_politics = yes
				load_focus_tree = { tree = iran_focus keep_completed = yes }
				create_country_leader = {
					name = "Joint Chiefs Of Staff"
					picture = "PER_joint_chief_staff.dds"
					ideology = Nat_Autocracy
					traits = {
						nationalist_Nat_Autocracy
					}
				}
			}
			1039 = { transfer_state_to = IRI }
			407 = { transfer_state_to = IRI }
			1073 = { transfer_state_to = IRI }
			979 = { transfer_state_to = IRI }
			403 = { transfer_state_to = IRI }
			405 = { transfer_state_to = IRI }
			408 = { transfer_state_to = IRI }
			1148 = { transfer_state_to = IRI }
			1139 = { transfer_state_to = IRI }
			404 = { transfer_state_to = IRI }
			1144 = { transfer_state_to = IRI }
			406 = { transfer_state_to = IRI }
			1138 = { transfer_state_to = IRI }
			399 = { transfer_state_to = IRI }
			1146 = { transfer_state_to = IRI }
			400 = { transfer_state_to = IRI }
			976 = { transfer_state_to = IRI }
			1149 = { transfer_state_to = IRI }
			1145 = { transfer_state_to = IRI }
			978 = { transfer_state_to = IRI }
			401 = { transfer_state_to = IRI }
			1119 = { transfer_state_to = IRI }
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				IRI = {
					load_oob = "PER_2000_nsb"
				}
			}
			else = {
				IRI = {
					load_oob = "PER_2000_nonnsb"
				}
			}
			IRI = {
				set_country_flag = { flag = disabled_protests_system days = 1095 value = 1 }
				ingame_startup_nations_effect = yes
				delete_unit_template_and_units = {
					division_template = "Niru-ye Daryayi Sepah-e Pasdaran"
					disband = yes
				}
				delete_unit_template_and_units = {
					division_template = "Niru-ye Qods-e Sepah-e Pasdaran"
					disband = yes
				}
				delete_unit_template_and_units = {
					division_template = "Lashkar-e Motorizeh Sepah-e Pasdaran"
					disband = yes
				}
				delete_unit_template_and_units = {
					division_template = "Lashkar-e Zerehiye Sepah-e Pasdaran"
					disband = yes
				}
				delete_unit_template_and_units = {
					division_template = "Lashkar-e Mekanizeh Sepah-e Pasdaran"
					disband = yes
				}
				delete_unit_template_and_units = {
					division_template = "Lashkar-e Komando-ye Sepah-e Pasdaran"
					disband = yes
				}
				delete_unit_template_and_units = {
					division_template = "Lashkar-e Havabord-e Sepah-e Pasdaran"
					disband = yes
				}
			}
			# ROOT
			clr_country_flag = PER_minister_selection
			clr_country_flag = PER_iranian_minister_given
			set_country_flag = PER_majles_abolished
			set_temp_variable = { rul_party_temp = 9 }
			set_temp_variable = { disable_elections = 1 }
			change_ruling_party_effect = yes
			set_temp_variable = { party_index = 9 }
			set_temp_variable = { party_popularity_increase = 0.15 }
			set_temp_variable = { temp_outlook_increase = 0.25 }
			change_relative_party_popularity = yes
			create_country_leader = {
				name = "Ayatollah Mohammad-Taqi Mesbah-Yazdi"
				picture = "taqi_yazdi.dds"
				ideology = Autocracy
				traits = {
					emerging_Vilayat_e_Faqih
					guerrilla_leader
					cleric
					geopolitical_thinker
					sly
					stubborn
					anti_zionist
				}
			}
			retire_character = PER_ahmadreza_pourdastan
			retire_character = PER_farzad_esmaili
			retire_character = PER_nasser_mohammadifar
			retire_character = PER_houshang_samadi
			retire_character = PER_habibollah_sayyari
			retire_character = PER_hassan_saadi
			retire_character = PER_hossein_khanzadi
			retire_character = PER_shahram_irani
			set_country_flag = PER_IRGC_GENERALS
			HEZ = {
				clr_country_flag = HEZ_IRGC_GENERALS
			}
			delete_unit_template_and_units = {
				division_template = "Niru-ye Daryayi Sepah-e Pasdaran"
				disband = yes
			}
			delete_unit_template_and_units = {
				division_template = "Niru-ye Qods-e Sepah-e Pasdaran"
				disband = yes
			}
			delete_unit_template_and_units = {
				division_template = "Lashkar-e Motorizeh Sepah-e Pasdaran"
				disband = yes
			}
			delete_unit_template_and_units = {
				division_template = "Lashkar-e Zerehiye Sepah-e Pasdaran"
				disband = yes
			}
			delete_unit_template_and_units = {
				division_template = "Lashkar-e Mekanizeh Sepah-e Pasdaran"
				disband = yes
			}
			delete_unit_template_and_units = {
				division_template = "Lashkar-e Komando-ye Sepah-e Pasdaran"
				disband = yes
			}
			delete_unit_template_and_units = {
				division_template = "Lashkar-e Havabord-e Sepah-e Pasdaran"
				disband = yes
			}
			delete_unit_template_and_units = {
				division_template = "Tip-e Zerehi"
				disband = yes
			}
			delete_unit_template_and_units = {
				division_template = "Lashkar-e Zerehi"
				disband = yes
			}
			delete_unit_template_and_units = {
				division_template = "Tip-e Mechanize"
				disband = yes
			}
			delete_unit_template_and_units = {
				division_template = "Tip-e Piade Nezam"
				disband = yes
			}
			delete_unit_template_and_units = {
				division_template = "Lashkar-e Motorizeh"
				disband = yes
			}
			delete_unit_template_and_units = {
				division_template = "Lashkar-e Mechanize"
				disband = yes
			}
			delete_unit_template_and_units = {
				division_template = "Lashkar-e Komandoyee"
				disband = yes
			}
			delete_unit_template_and_units = {
				division_template = "Tip-e Komandoyee"
				disband = yes
			}
			delete_unit_template_and_units = {
				division_template = "Tip-e Chatrbaz"
				disband = yes
			}
			delete_unit_template_and_units = {
				division_template = "Tofangdarane Daryayee"
				disband = yes
			}
			division_template = {
				name = "Niru-ye Daryayi Sepah-e Pasdaran" #Sepah
				regiments = {
					Special_Forces = { x = 0 y = 0 }
					L_Marine_Bat = { x = 0 y = 1 }
					L_Marine_Bat = { x = 0 y = 2 }
					L_Marine_Bat = { x = 0 y = 3 }
					L_Marine_Bat = { x = 0 y = 4 }
					L_Marine_Bat = { x = 1 y = 0 }
					Arty_Bat = { x = 1 y = 1 }
				}
				priority = 2
			}
			division_template = {
				name = "Niru-ye Qods-e Sepah-e Pasdaran" #Sepah
				regiments = {
					Special_Forces = { x = 0 y = 0 }
					Special_Forces = { x = 0 y = 1 }
					Special_Forces = { x = 0 y = 2 }
					Special_Forces = { x = 0 y = 3 }
					Special_Forces = { x = 1 y = 0 }
					Special_Forces = { x = 1 y = 1 }
					Special_Forces = { x = 1 y = 2 }
					Special_Forces = { x = 1 y = 3 }
					Special_Forces = { x = 2 y = 0 }
					Special_Forces = { x = 2 y = 1 }
				}
				priority = 2
			}
			division_template = {
				name = "Lashkar-e Motorizeh Sepah-e Pasdaran" #Sepah
				regiments = {
					Mot_Militia_Bat = { x = 0 y = 0 }
					Mot_Militia_Bat = { x = 0 y = 1 }
					Mot_Inf_Bat = { x = 1 y = 0 }
					L_Inf_Bat = { x = 1 y = 1 }
					SP_Arty_Bat = { x = 1 y = 2 }
				}
				support = {
					Mot_Recce_Comp = { x = 0 y = 0 }
					H_Engi_Comp = { x = 0 y = 1 }
					SP_AA_Battery = { x = 0 y = 2 }
				}
				priority = 2
			}
			division_template = {
				name = "Lashkar-e Zerehiye Sepah-e Pasdaran" #Sepah
				regiments = {
					armor_Bat = { x = 0 y = 0 }
					Arm_Inf_Bat = { x = 1 y = 0 }
					Mot_Militia_Bat = { x = 1 y = 1 }
					SP_Arty_Bat = { x = 1 y = 2 }
					SP_AA_Bat = { x = 1 y = 3 }
				}
				support = {
					Arm_Recce_Comp = { x = 0 y = 0 }
					H_Engi_Comp = { x = 0 y = 1 }
				}
				priority = 2
			}
			division_template = {
				name = "Lashkar-e Mekanizeh Sepah-e Pasdaran" #Sepah
				regiments = {
					Mech_Inf_Bat = { x = 0 y = 0 }
					Mot_Militia_Bat = { x = 0 y = 1 }
					Mot_Militia_Bat = { x = 0 y = 2 }
					SP_Arty_Bat = { x = 1 y = 0 }
					SP_AA_Bat = { x = 1 y = 1 }
					armor_Bat = { x = 2 y = 0 }
				}
				support = {
					Mot_Recce_Comp = { x = 0 y = 0 }
					L_Engi_Comp = { x = 0 y = 1 }
				}
				priority = 2
			}
			division_template = {
				name = "Lashkar-e Komando-ye Sepah-e Pasdaran" #Sepah
				regiments = {
					Special_Forces = { x = 0 y = 0 }
					Special_Forces = { x = 0 y = 1 }
					Special_Forces = { x = 0 y = 2 }
					Special_Forces = { x = 0 y = 3 }
					Special_Forces = { x = 1 y = 0 }
					SP_Arty_Bat = { x = 1 y = 1 }
				}
				support = {
					L_Engi_Comp = { x = 0 y = 0 }
					#SP_AA_Battery = { x = 0 y = 1 }
				}
				priority = 2
			}
			division_template = {
				name = "Lashkar-e Havabord-e Sepah-e Pasdaran" #Sepah
				regiments = {
					Special_Forces = { x = 0 y = 0 }
					L_Air_Inf_Bat = { x = 0 y = 1 }
				}
				support = {
					L_Recce_Comp = { x = 0 y = 0 }
				}
				priority = 2
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"Sepah-e Quds\" division_template = \"Niru-ye Qods-e Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"Tofangdarane Daryayee-ye Sepah\" division_template = \"Niru-ye Daryayi Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"23rd. Tip-e 'al-Mahdi'\" division_template = \"Lashkar-e Havabord-e Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"110th. Tip-e 'Salman'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"83rd. Tip-e 'Imam Sadiq'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"82nd. Tip-e 'Sahab Alamar'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"Tip-e 71st\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"Tip-e 71st\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"57th. Tip-e 'Abo-Fazl'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"44th. Tip-e 'Qamr Bani Hashem\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"44th. Tip-e 'Qamr Bani Hashem\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"42nd. Tip-e 'Ansar al-Rasool'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"32nd. Tip-e 'Ansar al-Hussein'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"29th. Tip-e 'Nabi Akram'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"18th. Tip-e 'al-Ghadir'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"29th. Tip-e 'Nabi Akram'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"12th. Tip-e 'Qaem al-Mohammed'\" division_template = \"Lashkar-e Motorizeh Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"60th. Tip-e 'Ammar Yasir'\" division_template = \"Lashkar-e Zerehiye Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			capital_scope = {
				create_unit = {
					division = "name = \"21st. Tip-e 'Imam Reza'\" division_template = \"Lashkar-e Zerehiye Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
				create_unit = {
					division = "name = \"20th. Tip-e 'Ramazan'\" division_template = \"Lashkar-e Zerehiye Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
				create_unit = {
					division = "name = \"25th. Lashkar-e 'Karbala'\" division_template = \"Lashkar-e Komando-ye Sepah-e Pasdaran\"start_experience_factor = 1.00 start_equipment_factor = 1.00"
					count = 1
					owner = PER
				}
			}
			PER = {
				declare_war_on = {
					target = IRI
					type = annex_everything
				}
			}
		}
		ai_chance = {
			base = 15
		}
	}
}

news_event = {
	id = department_of_state.72
	title = department_of_state.72.t
	desc = department_of_state.72.d
	picture = GFX_iran_insurgency
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { # Okay
		name = department_of_state.72.a
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.73
	title = department_of_state.73.t
	desc = department_of_state.73.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.73.a
		log = "[GetDateText]: [This.GetName]: department_of_state.73.a executed"
		add_timed_idea = {
			idea = USA_CHI_trade_war
			days = 730
		}
		ai_chance = {
			base = 5
			modifier = {
				has_opinion = {
					target = USA
					value > 19
				}
				add = 50
			}
		}
	}

	option = { # No
		name = department_of_state.73.b
		ai_chance = {
			base = 5
			modifier = {
				is_subject_of = CHI
				add = 100
			}
			modifier = {
				is_ally_with = CHI
				add = 100
			}
		}
	}
}

country_event = {
	id = department_of_state.74
	title = department_of_state.74.t
	desc = department_of_state.74.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.74.a
		log = "[GetDateText]: [This.GetName]: department_of_state.74.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = recent_actions_negative
		}
		ai_chance = {
			base = 5
		}
	}
}

news_event = {
	id = department_of_state.75
	title = department_of_state.75.t
	desc = department_of_state.75.d
	picture = GFX_venezuelan_civil_war
	is_triggered_only = yes
	major = yes

	#fire_only_once = yes
	option = { # Okay
		name = department_of_state.75.a
		trigger = {
			OR = {
				has_government = democratic
				has_government = neutrality
			}
		}
		ai_chance = {
			base = 15
		}
	}

	option = { # Okay
		name = department_of_state.75.b
		trigger = {
			NOT = { has_government = democratic }
			NOT = { has_government = neutrality }
		}
		ai_chance = {
			base = 15
		}
	}
}

news_event = {
	id = department_of_state.76
	title = department_of_state.76.t
	desc = department_of_state.76.d
	picture = GFX_china_trade_war
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { # Okay
		name = department_of_state.76.a
		trigger = {
			NOT = {
				original_tag = CHI
			}
		}
		ai_chance = {
			base = 15
		}
	}

	option = { # Okay
		name = department_of_state.76.b
		trigger = {
			OR = {
				original_tag = CHI
				is_ally_with = CHI
				is_subject_of = CHI
			}
		}
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.77
	title = department_of_state.77.t
	desc = department_of_state.77.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.77.a
		log = "[GetDateText]: [This.GetName]: department_of_state.77.a executed"
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment
			amount = -80
		}
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment_1
			amount = -80
		}
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment_2
			amount = -80
		}
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment_3
			amount = -80
		}
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment_4
			amount = -80
		}
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment_5
			amount = -80
		}
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment_6
			amount = -80
		}
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment_7
			amount = -80
		}
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment_8
			amount = -80
		}
		USA = {
			country_event = {
				id = department_of_state.80
				days = 1
			}
		}
		ai_chance = {
			base = 5
			modifier = {
				has_opinion = {
					target = USA
					value > 0
				}
				add = 200
			}
		}
	}

	option = { # Okay
		name = department_of_state.77.b
		log = "[GetDateText]: [This.GetName]: department_of_state.77.b executed"
		USA = {
			country_event = {
				id = department_of_state.81
				days = 1
			}
		}
		ai_chance = {
			base = 5
		}
	}
}

news_event = {
	id = department_of_state.78
	title = department_of_state.78.t
	desc = department_of_state.78.d
	picture = GFX_USA_War_On_Terrorism
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { # Okay
		name = department_of_state.78.a
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.79
	title = department_of_state.79.t
	desc = department_of_state.79.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.79.a
		log = "[GetDateText]: [This.GetName]: department_of_state.79.a executed"
		effect_tooltip = {
			every_country = {
				limit = {
					capital_scope = {
						is_on_continent = africa
					}
				}
				set_temp_variable = { percent_change = 2.40 }
				set_temp_variable = { tag_index = USA }
				change_influence_percentage = yes
				set_temp_variable = { percent_change = -10.00 }
				set_temp_variable = { tag_index = CHI }
				change_influence_percentage = yes
			}
			newline = yes
		}
		ai_chance = {
			base = 5
		}
	}
}

country_event = {
	id = department_of_state.80
	title = department_of_state.80.t
	desc = department_of_state.80.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.80.a
		log = "[GetDateText]: [This.GetName]: department_of_state.80.a executed"
		news_event = department_of_state.82
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment
			amount = -80
		}
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment_1
			amount = -80
		}
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment_2
			amount = -80
		}
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment_3
			amount = -80
		}
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment_4
			amount = -80
		}
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment_5
			amount = -80
		}
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment_6
			amount = -80
		}
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment_7
			amount = -80
		}
		add_equipment_to_stockpile = {
			type = nuclear_missile_equipment_8
			amount = -80
		}
		newline = yes
		set_temp_variable = { percent_change = 3 }
		set_temp_variable = { tag_index = USA }
		set_temp_variable = { influence_target = SOV }
		change_influence_percentage = yes
		newline = yes
		SOV = {
			add_popularity = {
				ideology = democratic
				popularity = 0.10
			}
		}
		ai_chance = {
			base = 5
		}
	}
}

country_event = {
	id = department_of_state.81
	title = department_of_state.81.t
	desc = department_of_state.81.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.81.a
		ai_chance = {
			base = 5
		}
	}
}

news_event = {
	id = department_of_state.82
	title = department_of_state.82.t
	desc = department_of_state.82.d
	picture = GFX_russian_reset
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { # Okay
		name = department_of_state.82.a
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.83
	title = department_of_state.83.t
	desc = department_of_state.83.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.83.a
		log = "[GetDateText]: [This.GetName]: department_of_state.83.a executed"
		log = "[GetDateText]: [This.GetName]: department_of_state.83.a"
		add_ideas = USA_ISR_military_cooperation
		ai_chance = {
			base = 100
		}
	}

	option = { # No
		name = department_of_state.83.b
		ai_chance = {
			base = 5
		}
	}
}

news_event = {
	id = department_of_state.84
	title = department_of_state.84.t
	desc = department_of_state.84.d
	picture = GFX_ukraine_aid
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { # Okay
		name = department_of_state.84.a
		trigger = {
			OR = {
				has_government = democratic
				has_government = neutrality
			}
		}
		ai_chance = {
			base = 15
		}
	}

	option = { # Okay
		name = department_of_state.84.b
		trigger = {
			NOT = { has_government = democratic }
			NOT = { has_government = neutrality }
		}
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.85
	title = department_of_state.85.t
	desc = department_of_state.85.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.85.a
		log = "[GetDateText]: [This.GetName]: department_of_state.85.a executed"
		add_relation_modifier = {
			target = UKR
			modifier = generic_increased_military_support
		}
		add_ai_strategy = {
			type = send_volunteers_desire
			id = UKR
			value = 500
		}
		send_equipment = {
			amount = 5000
			type = infantry_weapons_1
			target = UKR
		}
		send_equipment = {
			amount = 600
			type = util_vehicle_type
			target = UKR
		}
		ai_chance = {
			base = 15
		}
	}

	option = { # No
		name = department_of_state.85.b
		ai_chance = {
			base = 1
		}
	}
}

news_event = {
	id = department_of_state.86
	title = department_of_state.86.t
	desc = department_of_state.86.d
	picture = GFX_news_nuclear_test
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { # Okay
		name = department_of_state.86.a
		ai_chance = {
			base = 15
		}
	}
}

news_event = {
	id = department_of_state.87
	title = department_of_state.87.t
	desc = department_of_state.87.d
	picture = GFX_news_nuclear_test
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { # Okay
		name = department_of_state.87.a
		ai_chance = {
			base = 15
		}
	}
}

news_event = {
	id = department_of_state.88
	title = department_of_state.88.t
	desc = department_of_state.88.d
	picture = GFX_news_nuclear_test
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { # Okay
		name = department_of_state.88.a
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.89
	title = department_of_state.89.t
	desc = department_of_state.89.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.89.a
		log = "[GetDateText]: [This.GetName]: department_of_state.89.a executed"
		news_event = department_of_state.88
		set_country_flag = has_been_nuked
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.90
	title = department_of_state.90.t
	desc = department_of_state.90.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.90.a
		log = "[GetDateText]: [This.GetName]: department_of_state.90.a executed"
		set_country_flag = has_been_nuked
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.91
	title = department_of_state.91.t
	desc = department_of_state.91.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.91.a
		log = "[GetDateText]: [This.GetName]: department_of_state.91.a executed"
		news_event = department_of_state.87
		set_country_flag = has_been_nuked
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.92
	title = department_of_state.92.t
	desc = department_of_state.92.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Okay
		name = department_of_state.92.a
		log = "[GetDateText]: [This.GetName]: department_of_state.92.a executed"
		news_event = department_of_state.86
		set_country_flag = has_been_nuked
		ai_chance = {
			base = 15
		}
	}
}

country_event = {
	id = department_of_state.93
	title = department_of_state.93.t
	desc = department_of_state.93.d
	is_triggered_only = yes
	hidden = yes

	immediate = {
		hidden_effect = {
			every_owned_state = {
				limit = { is_core_of = CSB }
				THIS = { transfer_state_to = CSB }
			}
			every_owned_state = {
				limit = {
					is_core_of = RUS
					NOT = {
						OR = {
							is_core_of = CSB
							is_core_of = ESB
							is_core_of = KOM
							is_core_of = KAE
							is_core_of = TAT
							is_core_of = BSH
							is_core_of = DON
						}
					}
				}
				THIS = { transfer_state_to = RUS }
			}
			every_owned_state = {
				limit = { is_core_of = ESB }
				THIS = { transfer_state_to = ESB }
			}
			every_owned_state = {
				limit = { is_core_of = KOM }
				THIS = { transfer_state_to = KOM }
			}
			every_owned_state = {
				limit = { is_core_of = KOM }
				THIS = { transfer_state_to = KOM }
			}
			every_owned_state = {
				limit = { is_core_of = KAE }
				THIS = { transfer_state_to = KAE }
			}
			every_owned_state = {
				limit = { is_core_of = TAT }
				THIS = { transfer_state_to = TAT }
			}
			every_owned_state = {
				limit = { is_core_of = NEE }
				THIS = { transfer_state_to = NEE }
			}
			every_owned_state = {
				limit = { is_core_of = URA }
				THIS = { transfer_state_to = URA }
			}
			every_owned_state = {
				limit = { is_core_of = BSH }
				THIS = { transfer_state_to = BSH }
			}
		}
	}
}

# Afghanistan war related events

country_event = {
	id = department_of_state.200
	title = department_of_state.200.t
	desc = department_of_state.200.d
	picture = GFX_USA_afghanistan_casualties
	is_triggered_only = yes

	trigger = { NOT = { has_country_flag = USA_disabled_casualty_report } }

	option = { # Okay
		name = department_of_state.200.a
		log = "[GetDateText]: [This.GetName]: department_of_state.200.a executed"
		add_manpower = -75
		newline = yes
		random_list = {
			10 = {
				add_command_power = -50
			}
			10 = {
				set_temp_variable = { treasury_change = -4.54 }
				modify_treasury_effect = yes
			}
			10 = {
				set_temp_variable = { party_popularity_increase = -0.01 }
				change_relative_party_popularity = yes
			}
			10 = {
				add_political_power = -200
			}
			10 = {
				army_experience = -25
			}
			50 = {
				# Nothing
			}
		}
		newline = yes
		custom_effect_tooltip = USA_disable_report_TT
		ai_chance = {
			base = 1
		}
	}
}

news_event = {
	id = department_of_state.94
	title = department_of_state.94.t
	desc = department_of_state.94.d
	picture = GFX_afghan_news_taliban_uprising
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { # Okay
		name = department_of_state.94.a
		ai_chance = {
			base = 15
		}
	}
}

# Sale of the Kidd Class
country_event = {
	id = department_of_state.95
	title = department_of_state.95.t
	desc = department_of_state.95.d
	picture = GFX_carrier
	is_triggered_only = yes

	# Purchase the Kidd-Class
	option = {
		name = department_of_state.95.a
		log = "[GetDateText]: [This.GetName]: department_of_state.95.a executed"
		USA = {
			create_equipment_variant = {
				name = "Kee-Lung Class" # Formerly the Kidd-class Destroyer
				type = destroyer_hull_1
				parent_version = 1
				modules = {
					fixed_ship_engine_slot = module_surface_jet_turbine_power
					fixed_ship_fire_control_system_slot = module_capital_digital_integrated_fire_control
					fixed_ship_radar_slot = module_radar_3
					fixed_ship_auxillary_slot_3 = module_torpedoes_2
					fixed_ship_auxillary_slot_2 = module_naval_missile_mount_quad
					fixed_ship_auxillary_slot = module_127mm_guns_2
					fixed_ship_battery_slot = module_127mm_guns_2
					front_1_custom_slot = module_naval_missile_mount_quad
					mid_1_custom_slot = module_ciws_2
					mid_2_custom_slot = module_ciws_2
					rear_1_custom_slot = module_light_helipad_1
					fixed_ship_missile_ammo_slot = module_naval_ammo_balanced_3
				}
				obsolete = yes
			}
			set_temp_variable = { treasury_change = 2.5 }
			modify_treasury_effect = yes
		}
		create_ship = {
			type = destroyer_hull_1
			equipment_variant = "Kee-Lung Class"
			creator = USA
			name = "ROCS Tso Ying (DDG-1803)"
		}
		create_ship = {
			type = destroyer_hull_1
			equipment_variant = "Kee-Lung Class"
			creator = USA
			name = "ROCS Su Ao (DDG-1802)"
		}
		create_ship = {
			type = destroyer_hull_1
			equipment_variant = "Kee-Lung Class"
			creator = USA
			name = "ROCS Kee Lung (DDG-1801)"
		}
		create_ship = {
			type = destroyer_hull_1
			equipment_variant = "Kee-Lung Class"
			creator = USA
			name = "ROCS Ma Kong (DDG-1805)"
		}
		set_temp_variable = { treasury_change = -2.5 }
		modify_treasury_effect = yes
		set_country_flag = USA_kee_lung_sold
		USA = {
			set_country_flag = USA_kee_lung_sold
			country_event = diplomatic_response.1
		}
		ai_chance = {
			base = 15
			modifier = {
				add = 50
				country_exists = CHI
				NOT = { is_subject_of = CHI }
			}
			modifier = {
				add = 25
				CHI = { has_government = communism }
				OR = {
					has_government = democratic
					has_government = neutrality
				}
			}
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = department_of_state.95.b
		log = "[GetDateText]: [This.GetName]: department_of_state.95.b executed"
		USA = { country_event = diplomatic_response.2 }
		ai_chance = {
			base = 15
			modifier = {
				add = 10
				is_subject_of = CHI
			}
		}
	}

	# Decline the Purchase
}

# Additional Kee-Lung Class Destroyer Sale
country_event = {
	id = department_of_state.220
	title = department_of_state.220.t
	desc = department_of_state.220.d
	picture = GFX_carrier
	is_triggered_only = yes

	# Accept expanded purchase
	option = {
		name = department_of_state.220.a
		log = "[GetDateText]: [This.GetName]: department_of_state.220.a executed"
		USA = {
			set_temp_variable = { treasury_change = 2 }
			modify_treasury_effect = yes
		}
		set_temp_variable = { treasury_change = -2 }
		modify_treasury_effect = yes
		create_ship = {
			type = destroyer_hull_1
			equipment_variant = "Kee-Lung Class"
			creator = USA
			name = "ROCS Tso Ying II (DDG-1806)"
		}
		create_ship = {
			type = destroyer_hull_1
			equipment_variant = "Kee-Lung Class"
			creator = USA
			name = "ROCS Su Ao II (DDG-1807)"
		}
		create_ship = {
			type = destroyer_hull_1
			equipment_variant = "Kee-Lung Class"
			creator = USA
			name = "ROCS Keelung II (DDG-1808)"
		}
		add_war_support = 0.02
		capital_scope = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = dockyard
				level = 2
				instant_build = yes
			}
		}
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_strategic_partnership
		}
		USA = {
			add_opinion_modifier = {
				target = THIS
				modifier = usa_fp_strategic_partnership
			}
			country_event = diplomatic_response.1
		}
		ai_chance = {
			base = 60
			modifier = {
				add = 30
				CHI = { has_war_with = TAI }
			}
			modifier = {
				add = 20
				CHI = { has_government = communism }
			}
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = department_of_state.220.b
		log = "[GetDateText]: [This.GetName]: department_of_state.220.b executed"
		USA = { country_event = diplomatic_response.2 }
		ai_chance = {
			base = 10
			modifier = {
				add = 20
				is_subject_of = CHI
			}
		}
	}

	# Decline
}

# MNNA Application - USA decides whether to grant status
country_event = {
	id = department_of_state.230
	title = department_of_state.230.t
	desc = department_of_state.230.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	# Grant MNNA status
	option = {
		name = department_of_state.230.a
		log = "[GetDateText]: [This.GetName]: department_of_state.230.a executed"
		FROM = {
			NATO_major_non_nato_ally_join = yes
			country_event = { id = department_of_state.231 days = 1 }
		}
		ai_chance = {
			base = 70
			modifier = {
				add = 20
				FROM = { has_government = democratic }
			}
			# Do not intervene in wars that are not our problem
			modifier = {
				add = -25
				FROM = { has_war = yes }
				threat < 0.25
			}
			modifier = {
				add = 20
				FROM = {
					OR = {
						has_war_with = CHI
						has_war_with = SOV
						has_war_with = PER
					}
				}
			}
			modifier = {
				factor = 0.5
				has_opinion = { target = FROM value < 0 }
			}
			modifier = {
				factor = 0
				has_opinion = { target = FROM value < -100 }
			}
			# Strategic value of the applicant
			modifier = {
				add = 15
				FROM = { has_army_manpower = { size > 150000 } }
			}
			modifier = {
				add = 15
				FROM = { num_of_factories > 25 }
			}
			modifier = {
				add = 10
				FROM = { has_opinion = { target = CHI value < -25 } }
			}
			# Risky applicant — unstable client
			modifier = {
				add = -15
				FROM = { has_stability < 0.30 }
			}
			# US domestic posture
			modifier = {
				add = 10
				western_conservatism_are_in_power = yes
			}
			modifier = {
				add = 10
				western_liberals_are_in_power = yes
			}
			modifier = {
				add = -15
				nationalist_right_wing_populists_are_in_power = yes
			}
			# Overstretched — economic crisis blunts new commitments
			modifier = {
				factor = 0.7
				OR = {
					has_idea = USA_economic_crisis_medium_idea
					has_idea = USA_economic_crisis_severe_idea
				}
			}
		}
	}

	option = {
		name = department_of_state.230.b
		log = "[GetDateText]: [This.GetName]: department_of_state.230.b executed"
		FROM = {
			set_country_flag = {
				flag = MNNA_rejected_recently
				days = 180
				value = 1
			}
			country_event = { id = department_of_state.231 hours = 23 }
		}
		ai_chance = {
			base = 30
			modifier = {
				add = 40
				has_opinion = { target = FROM value < 0 }
			}
			modifier = {
				factor = 5
				has_opinion = { target = FROM value < -100 }
			}
			modifier = {
				factor = 0.2
				FROM = {
					OR = {
						has_war_with = CHI
						has_war_with = SOV
						has_war_with = PER
					}
				}
			}
			# Unstable applicant — don't take on a sinking ally
			modifier = {
				add = 15
				FROM = { has_stability < 0.30 }
			}
			# Isolationist US — reject more readily
			modifier = {
				add = 10
				nationalist_right_wing_populists_are_in_power = yes
			}
			# Costly to reject a serious military partner
			modifier = {
				factor = 0.5
				FROM = { has_army_manpower = { size > 200000 } }
			}
		}
	}

	# Reject the application
}

# MNNA Application Response - fires on applicant
country_event = {
	id = department_of_state.231
	title = department_of_state.231.t
	desc = department_of_state.231.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	trigger = {
		OR = {
			has_idea = Major_Non_NATO_Ally
			has_country_flag = MNNA_rejected_recently
		}
	}

	immediate = {
		if = {
			limit = { has_idea = Major_Non_NATO_Ally }
			set_country_flag = MNNA_application_accepted
		}
	}

	option = {
		name = department_of_state.231.a
		log = "[GetDateText]: [This.GetName]: department_of_state.231.a executed"
		trigger = { has_country_flag = MNNA_application_accepted }
		clr_country_flag = MNNA_application_accepted
		add_stability = 0.02
	}

	option = {
		name = department_of_state.231.b
		log = "[GetDateText]: [This.GetName]: department_of_state.231.b executed"
		trigger = {
			NOT = { has_country_flag = MNNA_application_accepted }
			has_country_flag = MNNA_rejected_recently
		}
		add_stability = -0.01
	}
}

# MNNA Dummy Event
country_event = {
	id = department_of_state.1000
	is_triggered_only = yes
	hidden = yes

	immediate = {
		random_scope_in_array = {
			array = global.nato_members
			limit = {
				is_faction_leader = yes
				NOT = { has_country_flag = collapsed_nation }
				NOT = { has_country_flag = mnna_event_cooldown }
				NOT = { has_war_with = event_target:mnna_aggressor }
			}
			set_country_flag = {
				flag = mnna_event_cooldown
				days = 7
				value = 1
			}
			country_event = { id = department_of_state.232 days = 2 }
		}
	}
}

# MNNA Under Attack - NATO Faction leader dilemma
country_event = {
	id = department_of_state.232
	title = department_of_state.232.t
	desc = department_of_state.232.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	trigger = {
		has_idea = NATO_member
		is_faction_leader = yes
		NOT = { has_country_flag = collapsed_nation }
		event_target:mnna_defender = {
			exists = yes
			has_idea = Major_Non_NATO_Ally
			has_war_with = event_target:mnna_aggressor
		}
		event_target:mnna_aggressor = {
			exists = yes
			NOT = { has_war_with = ROOT }
		}
	}

	# Honor the MNNA commitment - enter the war
	option = {
		name = department_of_state.232.a
		log = "[GetDateText]: [This.GetName]: department_of_state.232.a executed"
		add_war_support = 0.05
		add_political_power = -50
		newline = yes
		event_target:mnna_defender = {
			add_opinion_modifier = { target = ROOT modifier = usa_fp_major_alliance_support }
			reverse_add_opinion_modifier = { target = ROOT modifier = usa_fp_major_alliance_support }
			add_relation_modifier = {
				target = ROOT
				modifier = generic_increased_military_support
			}
			hidden_effect = {
				event_target:mnna_aggressor = {
					ROOT = {
						add_to_war = {
							targeted_alliance = PREV.PREV
							enemy = PREV
						}
					}
				}
			}
		}
		ai_chance = {
			base = 20
			modifier = {
				add = 35
				event_target:mnna_aggressor = {
					OR = {
						original_tag = CHI
						original_tag = SOV
						original_tag = PER
					}
					NOT = { is_in_faction_with = PREV }
				}
			}
			modifier = {
				add = 25
				western_liberals_are_in_power = yes
			}
			modifier = {
				add = 15
				western_conservatism_are_in_power = yes
			}
			# Interventionist hawks push for direct action against rivals
			modifier = {
				add = 10
				nationalist_right_wing_populists_are_in_power = yes
				event_target:mnna_aggressor = {
					OR = {
						original_tag = CHI
						original_tag = SOV
						original_tag = PER
					}
				}
			}
			# Progressive wing prefers proxy aid over boots on the ground
			modifier = {
				add = -15
				western_social_democrats_are_in_power = yes
			}
			# Defender strategic value
			modifier = {
				add = 15
				event_target:mnna_defender = { num_of_factories > 40 }
			}
			modifier = {
				add = 10
				event_target:mnna_defender = { has_opinion = { target = ROOT value > 100 } }
			}
			# Don't enter a war the defender is already losing
			modifier = {
				factor = 0.3
				event_target:mnna_defender = { surrender_progress > 0.50 }
			}
			# US capacity / domestic posture
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0.4
				NOT = { has_manpower > 200000 }
			}
			modifier = {
				factor = 0.5
				has_war_support < 0.50
			}
			modifier = {
				add = 10
				has_war_support > 0.75
			}
			modifier = {
				factor = 0.6
				has_stability < 0.40
			}
			modifier = {
				factor = 0.5
				threat > 0.60
			}
			# Economic crisis at home — no appetite for foreign wars
			modifier = {
				factor = 0.5
				OR = {
					has_idea = USA_economic_crisis_medium_idea
					has_idea = USA_economic_crisis_severe_idea
				}
			}
		}
	}

	option = {
		name = department_of_state.232.b
		log = "[GetDateText]: [This.GetName]: department_of_state.232.b executed"
		add_relation_modifier = {
			target = event_target:mnna_defender
			modifier = generic_increased_military_support
		}
		if = {
			limit = { event_target:mnna_defender = { num_of_factories > 40 } }
			send_equipment = {
				amount = 4000
				type = infantry_weapons_1
				target = event_target:mnna_defender
			}
			send_equipment = {
				amount = 400
				type = util_vehicle_type
				target = event_target:mnna_defender
			}
		}
		else = {
			send_equipment = {
				amount = 2000
				type = infantry_weapons_1
				target = event_target:mnna_defender
			}
			send_equipment = {
				amount = 200
				type = util_vehicle_type
				target = event_target:mnna_defender
			}
		}
		if = {
			limit = { date > 2010.1.1 }
			send_equipment = {
				amount = 1000
				type = infantry_weapons_2
				target = event_target:mnna_defender
			}
		}
		add_opinion_modifier = {
			target = event_target:mnna_aggressor
			modifier = usa_fp_major_diplomatic_fallout
		}
		add_political_power = -25
		ai_chance = {
			base = 55
			modifier = {
				add = 20
				has_war = yes
			}
			modifier = {
				add = 15
				threat > 0.40
			}
			# Proxy doctrine preference across the western spectrum
			modifier = {
				add = 15
				western_liberals_are_in_power = yes
			}
			modifier = {
				add = 10
				western_social_democrats_are_in_power = yes
			}
			modifier = {
				add = 10
				western_conservatism_are_in_power = yes
			}
			# Prefer arms over war when facing a superpower aggressor
			modifier = {
				factor = 1.3
				event_target:mnna_aggressor = {
					OR = {
						original_tag = CHI
						original_tag = SOV
					}
				}
			}
			# Futile if defender is collapsing
			modifier = {
				factor = 0.5
				event_target:mnna_defender = { surrender_progress > 0.60 }
			}
			# Can't spare the equipment
			modifier = {
				add = -10
				num_of_factories < 80
			}
		}
	}

	option = {
		name = department_of_state.232.c
		log = "[GetDateText]: [This.GetName]: department_of_state.232.c executed"
		event_target:mnna_defender = {
			add_opinion_modifier = { target = PREV modifier = usa_fp_major_diplomatic_fallout }
		}
		add_stability = -0.03
		add_political_power = -30
		ai_chance = {
			base = 25
			modifier = {
				add = 40
				has_war = yes
			}
			modifier = {
				add = 30
				event_target:mnna_aggressor = {
					NOT = {
						OR = {
							original_tag = CHI
							original_tag = SOV
							original_tag = PER
						}
					}
				}
			}
			# Domestic exhaustion
			modifier = {
				add = 20
				has_war_support < 0.50
			}
			modifier = {
				add = 15
				has_stability < 0.40
			}
			# Isolationist America when the aggressor isn't a direct US rival
			modifier = {
				add = 15
				nationalist_right_wing_populists_are_in_power = yes
				event_target:mnna_aggressor = {
					NOT = {
						OR = {
							original_tag = CHI
							original_tag = SOV
							original_tag = PER
						}
					}
				}
			}
			# Aggressor too dangerous to confront over a minor ally
			modifier = {
				add = 10
				event_target:mnna_aggressor = {
					OR = {
						original_tag = CHI
						original_tag = SOV
					}
				}
				event_target:mnna_defender = { num_of_factories < 25 }
			}
			# Already an ally — pulling out has bigger costs
			modifier = {
				add = -20
				event_target:mnna_defender = { is_in_faction_with = ROOT }
			}
			# Domestic economic crisis pushes toward retrenchment
			modifier = {
				add = 15
				OR = {
					has_idea = USA_economic_crisis_medium_idea
					has_idea = USA_economic_crisis_severe_idea
				}
			}
		}
	}

	# Provide arms and sanctions - no direct war
	# Stay out entirely
}

# NATO Coup via Influence — NATO faction leader dilemma
country_event = {
	id = department_of_state.233
	title = department_of_state.233.t
	desc = department_of_state.233.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	trigger = {
		has_idea = NATO_member
		is_faction_leader = yes
		NOT = { has_country_flag = collapsed_nation }
		event_target:nato_coup_victim = {
			exists = yes
			has_idea = NATO_member
			NOT = { has_government = democratic }
			NOT = { has_government = neutrality }
		}
	}

	# Eject from NATO and impose sanctions
	option = {
		name = department_of_state.233.a
		log = "[GetDateText]: [This.GetName]: department_of_state.233.a executed"
		event_target:nato_coup_victim = {
			remove_ideas = NATO_member
			leave_faction = yes
			add_opinion_modifier = { target = ROOT modifier = usa_fp_major_diplomatic_fallout }
			decrease_economic_growth = yes
			add_stability = -0.05
			country_event = { id = department_of_state.234 days = 1 }
		}
		add_political_power = -25
		ai_chance = {
			base = 55
			modifier = {
				add = 25
				western_liberals_are_in_power = yes
			}
			modifier = {
				add = 20
				western_conservatism_are_in_power = yes
			}
		}
	}

	option = {
		name = department_of_state.233.b
		log = "[GetDateText]: [This.GetName]: department_of_state.233.b executed"
		event_target:nato_coup_victim = {
			add_popularity = {
				ideology = democratic
				popularity = 0.15
			}
			add_stability = -0.07
			add_political_power = -50
			set_temp_variable = { percent_change = 10.00 }
			set_temp_variable = { tag_index = ROOT }
			change_influence_percentage = yes
			if = {
				limit = {
					OR = {
						check_variable = { influence_array^0 = CHI }
						check_variable = { influence_array^0 = SOV }
						check_variable = { influence_array^0 = PER }
					}
				}
				set_temp_variable = { percent_change = -15.00 }
				set_temp_variable = { tag_index = influence_array^0 }
				change_influence_percentage = yes
			}
			country_event = { id = department_of_state.234 days = 1 }
		}
		add_political_power = -75
		ai_chance = {
			base = 30
			modifier = {
				add = 25
				western_liberals_are_in_power = yes
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}
	}

	option = {
		name = department_of_state.233.c
		log = "[GetDateText]: [This.GetName]: department_of_state.233.c executed"
		add_stability = -0.03
		add_political_power = -40
		for_each_scope_loop = {
			array = global.nato_members
			tooltip = TT_ALL_NATO_MEMBER_NATIONS_GAIN
			if = {
				limit = {
					NOT = { tag = ROOT }
					NOT = { tag = event_target:nato_coup_victim }
				}
				add_opinion_modifier = { target = ROOT modifier = usa_fp_diplomatic_protest }
			}
		}
		ai_chance = {
			base = 15
			modifier = {
				add = 25
				has_war = yes
			}
		}
	}

	# Clandestine operations to back the democratic opposition
	# Accept the new regime and hope for the best
}

# Greenland Purchase — Denmark decides
country_event = {
	id = department_of_state.240
	title = department_of_state.240.t
	desc = department_of_state.240.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	# Accept the sale
	option = {
		name = department_of_state.240.a
		log = "[GetDateText]: [This.GetName]: department_of_state.240.a executed"
		set_temp_variable = { treasury_change = 500 }
		modify_treasury_effect = yes
		add_political_power = -100
		FROM = {
			set_temp_variable = { treasury_change = -500 }
			modify_treasury_effect = yes
			transfer_state = 1
			add_opinion_modifier = { target = PREV modifier = usa_fp_major_alliance_support }
		}
		add_opinion_modifier = { target = FROM modifier = usa_fp_major_alliance_support }
		hidden_effect = {
			every_country = {
				limit = { is_ai = no }
				news_event = { id = department_of_state.241 days = 2 }
			}
		}
		ai_chance = {
			base = 5
			modifier = {
				add = 15
				check_variable = { debt_ratio > 1.0 }
			}
			modifier = {
				add = 10
				has_opinion = { target = FROM value > 40 }
			}
			modifier = {
				factor = 0
				is_in_faction_with = FROM
				NOT = { check_variable = { debt_ratio > 1.5 } }
			}
		}
	}

	option = {
		name = department_of_state.240.b
		log = "[GetDateText]: [This.GetName]: department_of_state.240.b executed"
		add_political_power = 25
		FROM = {
			add_opinion_modifier = { target = PREV modifier = usa_fp_diplomatic_rejection }
		}
		ai_chance = {
			base = 85
			modifier = {
				factor = 0.5
				check_variable = { debt_ratio > 1.5 }
			}
		}
	}

	# Reject the sale
}

# Greenland Sale — news event
news_event = {
	id = department_of_state.241
	title = department_of_state.241.t
	desc = department_of_state.241.d
	picture = GFX_news_crime_fighting
	is_triggered_only = yes

	option = { name = department_of_state.241.a }
}

# Trump NATO Dilemma
country_event = {
	id = department_of_state.242
	title = department_of_state.242.t
	desc = department_of_state.242.d
	picture = GFX_USA_nato_flags
	is_triggered_only = yes

	trigger = {
		original_tag = USA
		has_idea = NATO_member
		has_country_leader = { name = "Donald Trump" ruling_only = yes }
	}

	# Leave NATO
	option = {
		name = department_of_state.242.a
		log = "[GetDateText]: [This.GetName]: department_of_state.242.a executed"
		NATO_leave = yes
		add_stability = -0.05
		add_political_power = 100
		for_each_scope_loop = {
			array = global.nato_members
			tooltip = TT_ALL_NATO_MEMBER_NATIONS_GAIN
			if = {
				limit = { NOT = { original_tag = USA } }
				add_opinion_modifier = { target = USA modifier = usa_fp_major_diplomatic_fallout }
			}
		}
		ai_chance = { base = 5 }
	}

	option = {
		name = department_of_state.242.b
		log = "[GetDateText]: [This.GetName]: department_of_state.242.b executed"
		add_political_power = 50
		for_each_scope_loop = {
			array = global.nato_members
			if = {
				limit = { NOT = { original_tag = USA } }
				country_event = {
					id = department_of_state.60
					days = 2
				}
			}
		}
		custom_effect_tooltip = TT_IF_THEY_ACCEPT
		custom_effect_tooltip = USA_2_percent_TT
		ai_chance = { base = 65 }
	}

	option = {
		name = department_of_state.242.c
		log = "[GetDateText]: [This.GetName]: department_of_state.242.c executed"
		add_stability = 0.02
		for_each_scope_loop = {
			array = global.nato_members
			tooltip = TT_ALL_NATO_MEMBER_NATIONS_GAIN
			if = {
				limit = { NOT = { original_tag = USA } }
				add_opinion_modifier = { target = USA modifier = usa_fp_diplomatic_cooperation }
			}
		}
		ai_chance = { base = 30 }
	}

	# Threaten to leave unless allies step up their spending
	# Reaffirm American commitment to NATO
}

# NATO Coup — notification to the couped country
country_event = {
	id = department_of_state.234
	title = department_of_state.234.t
	desc = department_of_state.234.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.234.a }
}

country_event = {
	id = department_of_state.96
	title = department_of_state.96.t
	desc = department_of_state.96.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = {
		name = department_of_state.96.a
		log = "[GetDateText]: [This.GetName]: department_of_state.96.a executed"
		news_event = department_of_state.98
		ai_chance = { base = 15 }
	}
}

country_event = {
	id = department_of_state.97
	title = department_of_state.97.t
	desc = department_of_state.97.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = {
		name = department_of_state.97.a
		log = "[GetDateText]: [This.GetName]: department_of_state.97.a executed"
		hidden_effect = {
			set_temp_variable = { rul_party_temp = 22 }
			change_ruling_party_effect = yes
			set_temp_variable = { party_index = 22 }
			set_temp_variable = { party_popularity_increase = 0.15 }
			set_temp_variable = { temp_outlook_increase = 0.25 }
			change_relative_party_popularity = yes
			news_event = department_of_state.75
			create_dynamic_country = {
				original_tag = VEN
				set_country_flag = VEN_liberation_tag
				copy_tag = VEN
				set_country_flag = disable_different_country_flag
				set_popularities = {
					democratic = 100
				}
				set_politics = {
					ruling_party = democratic
					last_election = "1997.6.8"
					election_frequency = 48
					elections_allowed = yes
				}
				start_politics_input = yes
				ingame_startup_nations_effect = yes
				### Party Popularities
				set_variable = { party_pop_array^2 = 1.00 } #liberalism
				### Ruling Party
				set_variable = { ruling_party = 2 }
				startup_politics = yes
				# Leader
				create_country_leader = {
					name = "Leopoldo Lopez"
					picture = "leopoldo_lopez.dds"
					ideology = liberalism
					traits = {
						western_liberalism
					}
				}
				load_focus_tree = { tree = venezuela_focus keep_completed = yes }
			}
			874 = { transfer_state_to = VLG }
			915 = { transfer_state_to = VLG }
			VLG = {
				division_template = {
					name = "Brigada de Liberación"
					priority = 0
					template_counter = 0
					regiments = {
						Militia_Bat = { x = 0 y = 0 }
						Militia_Bat = { x = 0 y = 1 }
						Militia_Bat = { x = 0 y = 2 }
						Militia_Bat = { x = 0 y = 3 }
						Militia_Bat = { x = 0 y = 4 }
					}
					support = {
						L_Recce_Comp = { x = 0 y = 0 }
					}
				}
				874 = {
					create_unit = {
						division = "name = \"1st. Brigada de Liberación\" division_template = \"Brigada de Liberación\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
						owner = VLG
						prioritize_location = 12285
					}
					create_unit = {
						division = "name = \"14th. Brigada de Liberación\" division_template = \"Brigada de Liberación\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
						owner = VLG
						prioritize_location = 12285
					}
					create_unit = {
						division = "name = \"2nd. Brigada de Liberación\" division_template = \"Brigada de Liberación\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
						owner = VLG
						prioritize_location = 12261
					}
					create_unit = {
						division = "name = \"13th. Brigada de Liberación\" division_template = \"Brigada de Liberación\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
						owner = VLG
						prioritize_location = 12261
					}
					create_unit = {
						division = "name = \"3rd. Brigada de Liberación\" division_template = \"Brigada de Liberación\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
						owner = VLG
						prioritize_location = 1997
					}
					create_unit = {
						division = "name = \"12th. Brigada de Liberación\" division_template = \"Brigada de Liberación\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
						owner = VLG
						prioritize_location = 1997
					}
				}
				915 = {
					create_unit = {
						division = "name = \"4th. Brigada de Liberación\" division_template = \"Brigada de Liberación\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
						owner = VLG
						prioritize_location = 5056
					}
					create_unit = {
						division = "name = \"11th. Brigada de Liberación\" division_template = \"Brigada de Liberación\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
						owner = VLG
						prioritize_location = 5056
					}
					create_unit = {
						division = "name = \"5th. Brigada de Liberación\" division_template = \"Brigada de Liberación\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
						owner = VLG
						prioritize_location = 8024
					}
					create_unit = {
						division = "name = \"10th. Brigada de Liberación\" division_template = \"Brigada de Liberación\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
						owner = VLG
						prioritize_location = 8024
					}
					create_unit = {
						division = "name = \"6th. Brigada de Liberación\" division_template = \"Brigada de Liberación\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
						owner = VLG
						prioritize_location = 4892
					}
					create_unit = {
						division = "name = \"9th. Brigada de Liberación\" division_template = \"Brigada de Liberación\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
						owner = VLG
						prioritize_location = 4892
					}
					create_unit = {
						division = "name = \"7th. Brigada de Liberación\" division_template = \"Brigada de Liberación\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
						owner = VLG
						prioritize_location = 5000
					}
					create_unit = {
						division = "name = \"8th. Brigada de Liberación\" division_template = \"Brigada de Liberación\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
						owner = VLG
						prioritize_location = 5000
					}
				}
				VLG = {
					declare_war_on = {
						target = VEN
						type = civil_war
					}
				}
			}
		}
		newline = yes
		custom_effect_tooltip = USA_venezuela_decision_TT
		newline = yes
		hidden_effect = {
			SOV = {
				add_ai_strategy = {
					type = send_volunteers_desire
					id = VEN
					value = 500
				}
				add_relation_modifier = {
					target = VEN
					modifier = generic_increased_military_support
				}
			}
			if = {
				limit = {
					PER = {
						has_government = communism
					}
				}
				PER = {
					add_ai_strategy = {
						type = send_volunteers_desire
						id = VEN
						value = 500
					}
					add_relation_modifier = {
						target = VEN
						modifier = generic_increased_military_support
					}
				}
			}
			if = {
				limit = {
					CHI = {
						has_government = communism
					}
				}
				CHI = {
					add_ai_strategy = {
						type = send_volunteers_desire
						id = VEN
						value = 500
					}
					add_relation_modifier = {
						target = VEN
						modifier = generic_increased_military_support
					}
				}
			}
			USA = {
				add_ai_strategy = {
					type = send_volunteers_desire
					id = VLG
					value = 500
				}
				add_relation_modifier = {
					target = VLG
					modifier = generic_increased_military_support
				}
			}
			BRA = {
				add_ai_strategy = {
					type = send_volunteers_desire
					id = VLG
					value = 500
				}
				add_relation_modifier = {
					target = VLG
					modifier = generic_increased_military_support
				}
			}
			HOL = {
				add_ai_strategy = {
					type = send_volunteers_desire
					id = VLG
					value = 500
				}
				add_relation_modifier = {
					target = VLG
					modifier = generic_increased_military_support
				}
			}
		}
		ai_chance = {
			base = 0
			modifier = {
				is_historical_focus_on = no
				add = 20
			}
		}
	}

	option = {
		name = department_of_state.97.b
		log = "[GetDateText]: [This.GetName]: department_of_state.97.b executed"
		USA = {
			if = {
				limit = { has_global_flag = GAME_RULE_allow_colored_puppets }
				set_autonomy = {
					target = VEN
					autonomy_state = autonomy_autonomous_state_colored
					end_wars = yes
					end_civil_wars = yes
				}
			}
			else = {
				set_autonomy = {
					target = VEN
					autonomy_state = autonomy_autonomous_state
					end_wars = yes
					end_civil_wars = yes
				}
			}
		}
		ai_chance = { base = 15 }
	}
}

news_event = {
	id = department_of_state.98
	title = department_of_state.98.t
	desc = department_of_state.98.d
	picture = GFX_maduro_with_dea_2
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = { # Okay
		name = department_of_state.98.a
		ai_chance = {
			base = 15
		}
	}
}

###########################
# Biden Era Events (100-112)
###########################

# AUKUS Proposal
country_event = {
	id = department_of_state.100
	title = department_of_state.100.t
	desc = department_of_state.100.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Accept
		name = department_of_state.100.a
		log = "[GetDateText]: [This.GetName]: department_of_state.100.a executed"
		USA = {
			add_relation_modifier = {
				target = ROOT
				modifier = generic_increased_military_support
			}
			add_to_variable = { USA_aukus_accept_count = 1 }
			if = {
				limit = { check_variable = { USA_aukus_accept_count > 1 } }
				news_event = { id = department_of_state.101 days = 1 }
			}
		}
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_strategic_partnership
		}
		FROM = { country_event = { id = department_of_state.160 days = 1 } }
		ai_chance = {
			base = 80
		}
	}

	option = { # Decline
		name = department_of_state.100.b
		log = "[GetDateText]: [This.GetName]: department_of_state.100.b executed"
		add_political_power = 10
		FROM = { country_event = { id = department_of_state.180 days = 1 } }
		ai_chance = {
			base = 5
		}
	}
}

# AUKUS News
news_event = {
	id = department_of_state.101
	title = department_of_state.101.t
	desc = department_of_state.101.d
	picture = GFX_aukus_alliance_formed
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.101.a }
}

# IPEF Invitation
country_event = {
	id = department_of_state.102
	title = department_of_state.102.t
	desc = department_of_state.102.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Accept
		name = department_of_state.102.a
		log = "[GetDateText]: [This.GetName]: department_of_state.102.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_diplomatic_cooperation
		}
		FROM = { country_event = { id = department_of_state.161 days = 1 } }
		ai_chance = {
			base = 60
			modifier = {
				add = 20
				has_opinion = { target = USA value > 0 }
			}
		}
	}

	option = { # Decline
		name = department_of_state.102.b
		log = "[GetDateText]: [This.GetName]: department_of_state.102.b executed"
		FROM = { country_event = { id = department_of_state.181 days = 1 } }
		ai_chance = {
			base = 10
			modifier = {
				add = 20
				has_opinion = { target = CHI value > 50 }
			}
		}
	}
}

# IPEF Results Notification
country_event = {
	id = department_of_state.103
	title = department_of_state.103.t
	desc = department_of_state.103.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.103.a }
}

# Abraham Accords Expansion Proposal
country_event = {
	id = department_of_state.104
	title = department_of_state.104.t
	desc = department_of_state.104.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Accept normalization
		name = department_of_state.104.a
		log = "[GetDateText]: [This.GetName]: department_of_state.104.a executed"
		if = {
			limit = { country_exists = ISR }
			add_opinion_modifier = {
				target = ISR
				modifier = usa_fp_strategic_partnership
			}
			ISR = {
				add_opinion_modifier = {
					target = ROOT
					modifier = usa_fp_strategic_partnership
				}
			}
		}
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_diplomatic_cooperation
		}
		set_temp_variable = { percent_change = 3.00 }
		set_temp_variable = { tag_index = USA }
		change_influence_percentage = yes
		FROM = { country_event = { id = department_of_state.162 days = 1 } }
		ai_chance = {
			base = 30
			modifier = {
				add = 20
				has_opinion = { target = USA value > 20 }
			}
			modifier = {
				add = -20
				has_opinion = { target = ISR value < -20 }
			}
		}
	}

	option = { # Decline
		name = department_of_state.104.b
		log = "[GetDateText]: [This.GetName]: department_of_state.104.b executed"
		add_political_power = 10
		FROM = { country_event = { id = department_of_state.182 days = 1 } }
		ai_chance = {
			base = 20
		}
	}
}

# Abraham Accords - ISR Notification
country_event = {
	id = department_of_state.105
	title = department_of_state.105.t
	desc = department_of_state.105.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.105.a }
}

# Abraham Accords News
news_event = {
	id = department_of_state.106
	title = department_of_state.106.t
	desc = department_of_state.106.d
	picture = GFX_abraham_accords_expanded
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.106.a }
}

# CHIPS Act Partner Invitation
country_event = {
	id = department_of_state.107
	title = department_of_state.107.t
	desc = department_of_state.107.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Accept
		name = department_of_state.107.a
		log = "[GetDateText]: [This.GetName]: department_of_state.107.a executed"
		capital_scope = {
			add_building_construction = {
				type = microchip_plant
				level = 1
				instant_build = yes
			}
		}
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_diplomatic_cooperation
		}
		FROM = { country_event = { id = department_of_state.163 days = 1 } }
		ai_chance = {
			base = 80
		}
	}

	option = { # Decline
		name = department_of_state.107.b
		log = "[GetDateText]: [This.GetName]: department_of_state.107.b executed"
		FROM = { country_event = { id = department_of_state.183 days = 1 } }
		ai_chance = {
			base = 5
		}
	}
}

# CHIPS Act News
news_event = {
	id = department_of_state.108
	title = department_of_state.108.t
	desc = department_of_state.108.d
	picture = GFX_chips_act
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.108.a }
}

# Paris Agreement Rejoined News
news_event = {
	id = department_of_state.109
	title = department_of_state.109.t
	desc = department_of_state.109.d
	picture = GFX_rejoin_paris_agreement
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.109.a }
}

# Taiwan Arms Deal
country_event = {
	id = department_of_state.110
	title = department_of_state.110.t
	desc = department_of_state.110.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Accept
		name = department_of_state.110.a
		log = "[GetDateText]: [This.GetName]: department_of_state.110.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_strategic_partnership
		}
		ai_chance = {
			base = 90
		}
	}
}

# China Protests Taiwan Arms Sales
country_event = {
	id = department_of_state.111
	title = department_of_state.111.t
	desc = department_of_state.111.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Diplomatic protest
		name = department_of_state.111.a
		log = "[GetDateText]: [This.GetName]: department_of_state.111.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_sanctions_displeasure
		}
		ai_chance = {
			base = 70
		}
	}

	option = { # Escalate
		name = department_of_state.111.b
		log = "[GetDateText]: [This.GetName]: department_of_state.111.b executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_sanctions_displeasure
		}
		add_opinion_modifier = {
			target = TAI
			modifier = usa_fp_sanctions_displeasure
		}
		ai_chance = {
			base = 20
		}
	}
}

# Taiwan Arms News
news_event = {
	id = department_of_state.112
	title = department_of_state.112.t
	desc = department_of_state.112.d
	picture = GFX_us_arms_taiwan
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.112.a }
}

###########################
# Trump Era Events (115-124)
###########################

# DPRK Summit Proposal
country_event = {
	id = department_of_state.115
	title = department_of_state.115.t
	desc = department_of_state.115.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Accept summit
		name = department_of_state.115.a
		log = "[GetDateText]: [This.GetName]: department_of_state.115.a executed"
		add_stability = 0.03
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_diplomatic_cooperation
		}
		USA = {
			add_opinion_modifier = {
				target = NKO
				modifier = usa_fp_diplomatic_cooperation
			}
		}
		news_event = department_of_state.116
		FROM = { country_event = { id = department_of_state.164 days = 1 } }
		ai_chance = {
			base = 60
		}
	}

	option = { # Decline
		name = department_of_state.115.b
		log = "[GetDateText]: [This.GetName]: department_of_state.115.b executed"
		decrease_economic_growth = yes
		add_stability = -0.05
		FROM = { country_event = { id = department_of_state.184 days = 1 } }
		ai_chance = {
			base = 20
			modifier = {
				add = 30
				has_war_with = USA
			}
		}
	}
}

# DPRK Summit News
news_event = {
	id = department_of_state.116
	title = department_of_state.116.t
	desc = department_of_state.116.d
	picture = GFX_us_north_korea_summit
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.116.a }
}

# JCPOA Withdrawal - Iran Notified
country_event = {
	id = department_of_state.117
	title = department_of_state.117.t
	desc = department_of_state.117.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = {
		name = department_of_state.117.a
		log = "[GetDateText]: [This.GetName]: department_of_state.117.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_sanctions_displeasure
		}
		add_stability = -0.03
	}
}

# JCPOA Withdrawal - EU Notified
country_event = {
	id = department_of_state.118
	title = department_of_state.118.t
	desc = department_of_state.118.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = {
		name = department_of_state.118.a
		log = "[GetDateText]: [This.GetName]: department_of_state.118.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_minor_displeasure
		}
	}
}

# JCPOA Withdrawal News
news_event = {
	id = department_of_state.119
	title = department_of_state.119.t
	desc = department_of_state.119.d
	picture = GFX_jcpoa_withdrawal
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.119.a }
}

# Jerusalem Recognition - ISR
country_event = {
	id = department_of_state.120
	title = department_of_state.120.t
	desc = department_of_state.120.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = {
		name = department_of_state.120.a
		log = "[GetDateText]: [This.GetName]: department_of_state.120.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_strategic_partnership
		}
		add_stability = 0.02
	}
}

# Jerusalem Recognition News
news_event = {
	id = department_of_state.121
	title = department_of_state.121.t
	desc = department_of_state.121.d
	picture = GFX_recognize_jerusalem
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.121.a }
}

# Golan Heights Recognition News
news_event = {
	id = department_of_state.124
	title = department_of_state.124.t
	desc = department_of_state.124.d
	picture = GFX_american_recognition_of_golan_heights
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.124.a }
}

###########################
# East Asia Events (125-129, 150-155)
###########################

# Freedom of Navigation - China Protest
country_event = {
	id = department_of_state.125
	title = department_of_state.125.t
	desc = department_of_state.125.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Diplomatic protest
		name = department_of_state.125.a
		log = "[GetDateText]: [This.GetName]: department_of_state.125.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_diplomatic_protest
		}
		ai_chance = {
			base = 70
		}
	}

	option = { # Military escalation
		name = department_of_state.125.b
		log = "[GetDateText]: [This.GetName]: department_of_state.125.b executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_sanctions_displeasure
		}
		add_war_support = 0.03
		ai_chance = {
			base = 15
		}
	}
}

# Freedom of Navigation News
news_event = {
	id = department_of_state.126
	title = department_of_state.126.t
	desc = department_of_state.126.d
	picture = GFX_news_us_flag
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.126.a }
}

# THAAD Deployment Proposal to KOR
country_event = {
	id = department_of_state.127
	title = department_of_state.127.t
	desc = department_of_state.127.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Accept
		name = department_of_state.127.a
		log = "[GetDateText]: [This.GetName]: department_of_state.127.a executed"
		add_ideas = USA_thaad_defense
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_strategic_partnership
		}
		set_temp_variable = { percent_change = 5.00 }
		set_temp_variable = { tag_index = USA }
		change_influence_percentage = yes
		if = {
			limit = { country_exists = CHI }
			CHI = {
				add_opinion_modifier = {
					target = USA
					modifier = usa_fp_diplomatic_rejection
				}
				add_opinion_modifier = {
					target = KOR
					modifier = usa_fp_diplomatic_protest
				}
			}
		}
		if = {
			limit = { country_exists = NKO }
			NKO = {
				add_opinion_modifier = {
					target = USA
					modifier = usa_fp_diplomatic_protest
				}
			}
		}
		news_event = department_of_state.129
		FROM = { country_event = { id = department_of_state.165 days = 1 } }
		ai_chance = {
			base = 60
			modifier = {
				add = 25
				NKO = { has_war_support > 0.5 }
			}
		}
	}

	option = { # Decline
		name = department_of_state.127.b
		log = "[GetDateText]: [This.GetName]: department_of_state.127.b executed"
		add_political_power = 20
		USA = {
			clr_country_flag = USA_thaad_deployed
		}
		FROM = { country_event = { id = department_of_state.185 days = 1 } }
		ai_chance = {
			base = 15
		}
	}
}

# THAAD News
news_event = {
	id = department_of_state.129
	title = department_of_state.129.t
	desc = department_of_state.129.d
	picture = GFX_thaad_south_korea
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.129.a }
}

###########################
# Intervention Events (130-138)
###########################

# Yemen Intervention News
news_event = {
	id = department_of_state.130
	title = department_of_state.130.t
	desc = department_of_state.130.d
	picture = GFX_american_intervention_yemen
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.130.a }
}

# Yemen Intervention - YEM Notification
country_event = {
	id = department_of_state.131
	title = department_of_state.131.t
	desc = department_of_state.131.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = {
		name = department_of_state.131.a
		log = "[GetDateText]: [This.GetName]: department_of_state.131.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_strategic_partnership
		}
		add_war_support = 0.05
	}
}

# Mali Intervention News
news_event = {
	id = department_of_state.132
	title = department_of_state.132.t
	desc = department_of_state.132.d
	picture = GFX_us_mali_support
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.132.a }
}

# Mali Intervention - MAL Notification
country_event = {
	id = department_of_state.133
	title = department_of_state.133.t
	desc = department_of_state.133.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = {
		name = department_of_state.133.a
		log = "[GetDateText]: [This.GetName]: department_of_state.133.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_strategic_partnership
		}
		add_war_support = 0.05
	}
}

# Nigeria Intervention News
news_event = {
	id = department_of_state.134
	title = department_of_state.134.t
	desc = department_of_state.134.d
	picture = GFX_us_nigeria_support
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.134.a }
}

# Nigeria Intervention - NIG Notification
country_event = {
	id = department_of_state.135
	title = department_of_state.135.t
	desc = department_of_state.135.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = {
		name = department_of_state.135.a
		log = "[GetDateText]: [This.GetName]: department_of_state.135.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_strategic_partnership
		}
		add_war_support = 0.05
	}
}

# Haiti Stabilization News
news_event = {
	id = department_of_state.136
	title = department_of_state.136.t
	desc = department_of_state.136.d
	picture = GFX_us_forces_in_haiti
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.136.a }
}

# Haiti Stabilization - HAI Notification
country_event = {
	id = department_of_state.137
	title = department_of_state.137.t
	desc = department_of_state.137.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = {
		name = department_of_state.137.a
		log = "[GetDateText]: [This.GetName]: department_of_state.137.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_strategic_partnership
		}
		add_stability = 0.05
	}
}

# Counter-Narcotics - Central America Notification
country_event = {
	id = department_of_state.138
	title = department_of_state.138.t
	desc = department_of_state.138.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = {
		name = department_of_state.138.a
		log = "[GetDateText]: [This.GetName]: department_of_state.138.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_minor_goodwill
		}
		add_stability = 0.02
	}
}

###########################
# Regional Investment Events (140-149)
###########################

# Caribbean Investment Notification
country_event = {
	id = department_of_state.140
	title = department_of_state.140.t
	desc = department_of_state.140.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = {
		name = department_of_state.140.a
		log = "[GetDateText]: [This.GetName]: department_of_state.140.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_diplomatic_cooperation
		}
		add_timed_idea = {
			idea = USA_caribbean_development
			days = 730
		}
	}
}

# Caribbean Investment News
news_event = {
	id = department_of_state.141
	title = department_of_state.141.t
	desc = department_of_state.141.d
	picture = GFX_american_investments_carribean
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.141.a }
}

# Canada Investment Proposal
country_event = {
	id = department_of_state.142
	title = department_of_state.142.t
	desc = department_of_state.142.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Accept
		name = department_of_state.142.a
		log = "[GetDateText]: [This.GetName]: department_of_state.142.a executed"
		capital_scope = {
			add_building_construction = {
				type = microchip_plant
				level = 1
				instant_build = yes
			}
		}
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_diplomatic_cooperation
		}
		set_temp_variable = { percent_change = 3.00 }
		set_temp_variable = { tag_index = USA }
		change_influence_percentage = yes
		FROM = { country_event = { id = department_of_state.166 days = 1 } }
		ai_chance = {
			base = 80
		}
	}

	option = { # Decline
		name = department_of_state.142.b
		log = "[GetDateText]: [This.GetName]: department_of_state.142.b executed"
		add_political_power = 10
		FROM = { country_event = { id = department_of_state.186 days = 1 } }
		ai_chance = {
			base = 5
		}
	}
}

# Canada Investment Result
country_event = {
	id = department_of_state.143
	title = department_of_state.143.t
	desc = department_of_state.143.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.143.a }
}

# West Africa Development Notification
country_event = {
	id = department_of_state.144
	title = department_of_state.144.t
	desc = department_of_state.144.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = {
		name = department_of_state.144.a
		log = "[GetDateText]: [This.GetName]: department_of_state.144.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_diplomatic_cooperation
		}
		add_timed_idea = {
			idea = USA_west_africa_development
			days = 730
		}
	}
}

# West Africa Development News
news_event = {
	id = department_of_state.145
	title = department_of_state.145.t
	desc = department_of_state.145.d
	picture = GFX_american_west_africa_initiative
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.145.a }
}

# Pacific Islands Compact Notification
country_event = {
	id = department_of_state.146
	title = department_of_state.146.t
	desc = department_of_state.146.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = {
		name = department_of_state.146.a
		log = "[GetDateText]: [This.GetName]: department_of_state.146.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_diplomatic_cooperation
		}
	}
}

# Pacific Islands Compact News
news_event = {
	id = department_of_state.147
	title = department_of_state.147.t
	desc = department_of_state.147.d
	picture = GFX_us_pacific_islands_support
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.147.a }
}

# AGOA Notification
country_event = {
	id = department_of_state.148
	title = department_of_state.148.t
	desc = department_of_state.148.d
	picture = GFX_africa_us_meeting
	is_triggered_only = yes

	option = {
		name = department_of_state.148.a
		log = "[GetDateText]: [This.GetName]: department_of_state.148.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_diplomatic_cooperation
		}
	}
}

# AGOA News
news_event = {
	id = department_of_state.149
	title = department_of_state.149.t
	desc = department_of_state.149.d
	picture = GFX_us_african_trade_program
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.149.a }
}

###########################
# East Asia Continued (150-155)
###########################

# Quad Security Dialogue Invitation
country_event = {
	id = department_of_state.150
	title = department_of_state.150.t
	desc = department_of_state.150.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Accept
		name = department_of_state.150.a
		log = "[GetDateText]: [This.GetName]: department_of_state.150.a executed"
		USA = {
			add_relation_modifier = {
				target = ROOT
				modifier = generic_increased_military_support
			}
		}
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_diplomatic_cooperation
		}
		set_temp_variable = { percent_change = 3.00 }
		set_temp_variable = { tag_index = USA }
		change_influence_percentage = yes
		set_temp_variable = { percent_change = -3.00 }
		set_temp_variable = { tag_index = CHI }
		change_influence_percentage = yes
		FROM = { country_event = { id = department_of_state.167 days = 1 } }
		ai_chance = {
			base = 60
			modifier = {
				add = 20
				has_opinion = { target = USA value > 0 }
			}
		}
	}

	option = { # Decline
		name = department_of_state.150.b
		log = "[GetDateText]: [This.GetName]: department_of_state.150.b executed"
		add_political_power = 10
		FROM = { country_event = { id = department_of_state.187 days = 1 } }
		ai_chance = {
			base = 10
		}
	}
}

# Quad Results News
news_event = {
	id = department_of_state.151
	title = department_of_state.151.t
	desc = department_of_state.151.d
	picture = GFX_quad_partnership
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.151.a }
}

# Philippine EDCA Proposal
country_event = {
	id = department_of_state.152
	title = department_of_state.152.t
	desc = department_of_state.152.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Accept
		name = department_of_state.152.a
		log = "[GetDateText]: [This.GetName]: department_of_state.152.a executed"
		USA = {
			add_relation_modifier = {
				target = PHI
				modifier = generic_increased_military_support
			}
		}
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_strategic_partnership
		}
		set_temp_variable = { percent_change = 5.00 }
		set_temp_variable = { tag_index = USA }
		change_influence_percentage = yes
		USA = {
			send_equipment = {
				amount = 1000
				type = infantry_weapons_1
				target = PHI
			}
		}
		FROM = { country_event = { id = department_of_state.168 days = 1 } }
		ai_chance = {
			base = 60
			modifier = {
				add = 20
				CHI = { is_faction_leader = yes }
			}
		}
	}

	option = { # Decline
		name = department_of_state.152.b
		log = "[GetDateText]: [This.GetName]: department_of_state.152.b executed"
		add_political_power = 10
		FROM = { country_event = { id = department_of_state.188 days = 1 } }
		ai_chance = {
			base = 20
		}
	}
}

# Philippine EDCA News
news_event = {
	id = department_of_state.153
	title = department_of_state.153.t
	desc = department_of_state.153.d
	picture = GFX_american_phillipines_cooperation
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.153.a }
}

# Korean Reunification Talks
country_event = {
	id = department_of_state.154
	title = department_of_state.154.t
	desc = department_of_state.154.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { # Accept talks
		name = department_of_state.154.a
		log = "[GetDateText]: [This.GetName]: department_of_state.154.a executed"
		add_stability = 0.02
		if = {
			limit = { original_tag = KOR }
			if = {
				limit = { country_exists = NKO }
				add_opinion_modifier = {
					target = NKO
					modifier = usa_fp_minor_goodwill
				}
			}
		}
		if = {
			limit = { original_tag = NKO }
			add_popularity = {
				ideology = democratic
				popularity = 0.03
			}
			if = {
				limit = { country_exists = KOR }
				add_opinion_modifier = {
					target = KOR
					modifier = usa_fp_minor_goodwill
				}
			}
		}
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_minor_goodwill
		}
		set_temp_variable = { percent_change = 3.00 }
		set_temp_variable = { tag_index = USA }
		change_influence_percentage = yes
		FROM = { country_event = { id = department_of_state.169 days = 1 } }
		ai_chance = {
			base = 30
			modifier = {
				original_tag = KOR
				add = 20
			}
			modifier = {
				add = 15
				original_tag = NKO
				has_stability < 0.4
			}
		}
	}

	option = { # Decline
		name = department_of_state.154.b
		log = "[GetDateText]: [This.GetName]: department_of_state.154.b executed"
		add_political_power = 10
		FROM = { country_event = { id = department_of_state.189 days = 1 } }
		ai_chance = {
			base = 40
			modifier = {
				add = 20
				original_tag = NKO
			}
		}
	}
}

# Korean Reunification Talks News
news_event = {
	id = department_of_state.155
	title = department_of_state.155.t
	desc = department_of_state.155.d
	picture = GFX_american_faciliated_korean_unification_talks
	is_triggered_only = yes
	major = yes

	option = { name = department_of_state.155.a }
}

###########################
# Diplomatic Response Events (160-189)
###########################

# AUKUS Pact - Accepted
country_event = {
	id = department_of_state.160
	title = department_of_state.160.t
	desc = department_of_state.160.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.160.a }
}

# IPEF - Accepted
country_event = {
	id = department_of_state.161
	title = department_of_state.161.t
	desc = department_of_state.161.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.161.a }
}

# Abraham Accords Expansion - Accepted
country_event = {
	id = department_of_state.162
	title = department_of_state.162.t
	desc = department_of_state.162.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.162.a }
}

# CHIPS Act Partnership - Accepted
country_event = {
	id = department_of_state.163
	title = department_of_state.163.t
	desc = department_of_state.163.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.163.a }
}

# DPRK Summit - Accepted
country_event = {
	id = department_of_state.164
	title = department_of_state.164.t
	desc = department_of_state.164.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.164.a }
}

# THAAD Deployment - Accepted
country_event = {
	id = department_of_state.165
	title = department_of_state.165.t
	desc = department_of_state.165.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.165.a }
}

# Canada Investment - Accepted
country_event = {
	id = department_of_state.166
	title = department_of_state.166.t
	desc = department_of_state.166.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.166.a }
}

# Quad Security Dialogue - Accepted
country_event = {
	id = department_of_state.167
	title = department_of_state.167.t
	desc = department_of_state.167.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.167.a }
}

# Philippine EDCA - Accepted
country_event = {
	id = department_of_state.168
	title = department_of_state.168.t
	desc = department_of_state.168.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.168.a }
}

# Korean Reunification Talks - Accepted
country_event = {
	id = department_of_state.169
	title = department_of_state.169.t
	desc = department_of_state.169.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.169.a }
}

# AUKUS Pact - Declined
country_event = {
	id = department_of_state.180
	title = department_of_state.180.t
	desc = department_of_state.180.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.180.a }
}

# IPEF - Declined
country_event = {
	id = department_of_state.181
	title = department_of_state.181.t
	desc = department_of_state.181.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.181.a }
}

# Abraham Accords Expansion - Declined
country_event = {
	id = department_of_state.182
	title = department_of_state.182.t
	desc = department_of_state.182.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.182.a }
}

# CHIPS Act Partnership - Declined
country_event = {
	id = department_of_state.183
	title = department_of_state.183.t
	desc = department_of_state.183.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.183.a }
}

# DPRK Summit - Declined
country_event = {
	id = department_of_state.184
	title = department_of_state.184.t
	desc = department_of_state.184.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.184.a }
}

# THAAD Deployment - Declined
country_event = {
	id = department_of_state.185
	title = department_of_state.185.t
	desc = department_of_state.185.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.185.a }
}

# Canada Investment - Declined
country_event = {
	id = department_of_state.186
	title = department_of_state.186.t
	desc = department_of_state.186.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.186.a }
}

# Quad Security Dialogue - Declined
country_event = {
	id = department_of_state.187
	title = department_of_state.187.t
	desc = department_of_state.187.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.187.a }
}

# Philippine EDCA - Declined
country_event = {
	id = department_of_state.188
	title = department_of_state.188.t
	desc = department_of_state.188.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.188.a }
}

# Korean Reunification Talks - Declined
country_event = {
	id = department_of_state.189
	title = department_of_state.189.t
	desc = department_of_state.189.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = department_of_state.189.a }
}

###########################
# Foreign Policy Expansion Events (210-219)
###########################

# India Civil Nuclear Agreement Proposal
country_event = {
	id = department_of_state.210
	title = department_of_state.210.t
	desc = department_of_state.210.d
	picture = GFX_clinton_visit_india # PLACEHOLDER
	is_triggered_only = yes

	option = { # Accept
		name = department_of_state.210.a
		log = "[GetDateText]: [This.GetName]: department_of_state.210.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_strategic_partnership
		}
		add_relation_modifier = {
			target = USA
			modifier = generic_increased_cooperation
		}
		USA = {
			add_opinion_modifier = {
				target = ROOT
				modifier = usa_fp_strategic_partnership
			}
			add_relation_modifier = {
				target = ROOT
				modifier = generic_increased_cooperation
			}
		}
		if = {
			limit = { country_exists = PAK }
			PAK = {
				add_opinion_modifier = {
					target = USA
					modifier = usa_fp_major_diplomatic_fallout
				}
			}
		}
		if = {
			limit = { country_exists = CHI }
			CHI = {
				add_opinion_modifier = {
					target = USA
					modifier = usa_fp_major_diplomatic_fallout
				}
			}
		}
		ai_chance = {
			base = 90
		}
	}

	option = { # Decline
		name = department_of_state.210.b
		log = "[GetDateText]: [This.GetName]: department_of_state.210.b executed"
		USA = {
			add_political_power = 10
		}
		ai_chance = {
			base = 5
		}
	}
}

# Vietnam Comprehensive Partnership Proposal
country_event = {
	id = department_of_state.211
	title = department_of_state.211.t
	desc = department_of_state.211.d
	picture = GFX_handshake_black # PLACEHOLDER
	is_triggered_only = yes

	option = { # Accept
		name = department_of_state.211.a
		log = "[GetDateText]: [This.GetName]: department_of_state.211.a executed"
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_strategic_partnership
		}
		add_relation_modifier = {
			target = USA
			modifier = generic_increased_cooperation
		}
		USA = {
			add_opinion_modifier = {
				target = ROOT
				modifier = usa_fp_strategic_partnership
			}
			add_relation_modifier = {
				target = ROOT
				modifier = generic_increased_cooperation
			}
		}
		if = {
			limit = { country_exists = CHI }
			CHI = {
				add_opinion_modifier = {
					target = ROOT
					modifier = usa_fp_major_diplomatic_fallout
				}
			}
		}
		ai_chance = {
			base = 80
			modifier = {
				add = 15
				has_opinion = { target = CHI value < 0 }
			}
		}
	}

	option = { # Decline
		name = department_of_state.211.b
		log = "[GetDateText]: [This.GetName]: department_of_state.211.b executed"
		USA = {
			add_political_power = 10
		}
		ai_chance = {
			base = 10
			modifier = {
				add = 20
				has_opinion = { target = CHI value > 50 }
			}
		}
	}
}

# CAATSA Sanctions Ultimatum (Turkey S-400)
country_event = {
	id = department_of_state.212
	title = department_of_state.212.t
	desc = department_of_state.212.d
	picture = GFX_TUR_generic # PLACEHOLDER
	is_triggered_only = yes

	option = { # Yield - abandon S-400
		name = department_of_state.212.a
		log = "[GetDateText]: [This.GetName]: department_of_state.212.a executed"
		add_political_power = -100
		add_stability = -0.03
		USA = {
			add_opinion_modifier = {
				target = ROOT
				modifier = usa_fp_strategic_partnership
			}
		}
		ai_chance = {
			base = 10
		}
	}

	option = { # Defy - keep S-400
		name = department_of_state.212.b
		log = "[GetDateText]: [This.GetName]: department_of_state.212.b executed"
		decrease_economic_growth = yes
		add_stability = -0.03
		add_opinion_modifier = { target = USA modifier = usa_fp_severe_confrontation }
		reverse_add_opinion_modifier = { target = USA modifier = usa_fp_severe_confrontation }
		ai_chance = {
			base = 85
			modifier = {
				add = 10
				has_opinion = { target = SOV value > 0 }
			}
		}
	}
}

# Guaidó Recognition Ultimatum (Venezuela)
country_event = {
	id = department_of_state.213
	title = department_of_state.213.t
	desc = department_of_state.213.d
	picture = GFX_generic_oil_field
	is_triggered_only = yes

	option = { # Step down
		name = department_of_state.213.a
		log = "[GetDateText]: [This.GetName]: department_of_state.213.a executed"
		add_stability = -0.10
		add_political_power = -100
		random_list = {
			30 = {
				start_civil_war = {
					ideology = democratic
					size = 0.20
				}
			}
			40 = {
				add_war_support = -0.10
				add_stability = -0.10
				set_temp_variable = { party_index = 1 }
				set_temp_variable = { party_popularity_increase = 0.10 }
				change_relative_party_popularity = yes
			}
			30 = {
				set_temp_variable = { rul_party_temp = 1 }
				change_ruling_party_effect = yes
				USA = {
					add_opinion_modifier = {
						target = ROOT
						modifier = usa_fp_strategic_partnership
					}
				}
				add_opinion_modifier = {
					target = USA
					modifier = usa_fp_strategic_partnership
				}
			}
		}
		ai_chance = {
			base = 1
		}
	}

	option = { # Defy
		name = department_of_state.213.b
		log = "[GetDateText]: [This.GetName]: department_of_state.213.b executed"
		decrease_economic_growth = yes
		add_stability = -0.05
		add_political_power = -50
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_severe_confrontation
		}
		USA = {
			add_opinion_modifier = {
				target = ROOT
				modifier = usa_fp_severe_confrontation
			}
		}
		ai_chance = {
			base = 95
		}
	}
}

# Cuba Normalization Offer
country_event = {
	id = department_of_state.214
	title = department_of_state.214.t
	desc = department_of_state.214.d
	picture = GFX_us_flag # PLACEHOLDER
	is_triggered_only = yes

	option = { # Accept thaw
		name = department_of_state.214.a
		log = "[GetDateText]: [This.GetName]: department_of_state.214.a executed"
		add_stability = 0.05
		add_political_power = 50
		increase_economic_growth = yes
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_strategic_partnership
		}
		add_relation_modifier = {
			target = USA
			modifier = generic_increased_cooperation
		}
		USA = {
			add_opinion_modifier = {
				target = ROOT
				modifier = usa_fp_strategic_partnership
			}
			add_relation_modifier = {
				target = ROOT
				modifier = generic_increased_cooperation
			}
		}
		ai_chance = {
			base = 80
		}
	}

	option = { # Decline
		name = department_of_state.214.b
		log = "[GetDateText]: [This.GetName]: department_of_state.214.b executed"
		add_political_power = 25
		ai_chance = {
			base = 15
		}
	}
}

# Cuba Sanctions Tightening
country_event = {
	id = department_of_state.215
	title = department_of_state.215.t
	desc = department_of_state.215.d
	picture = GFX_important_decision_cuba # PLACEHOLDER
	is_triggered_only = yes

	option = { # Yield
		name = department_of_state.215.a
		log = "[GetDateText]: [This.GetName]: department_of_state.215.a executed"
		add_stability = -0.02
		add_political_power = -25
		ai_chance = {
			base = 5
		}
	}

	option = { # Defy
		name = department_of_state.215.b
		log = "[GetDateText]: [This.GetName]: department_of_state.215.b executed"
		decrease_economic_growth = yes
		add_stability = -0.05
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_severe_confrontation
		}
		USA = {
			add_opinion_modifier = {
				target = ROOT
				modifier = usa_fp_severe_confrontation
			}
		}
		ai_chance = {
			base = 90
		}
	}
}

# Huawei Export Blacklist Notification
country_event = {
	id = department_of_state.216
	title = department_of_state.216.t
	desc = department_of_state.216.d
	picture = GFX_china_trade_dock # PLACEHOLDER
	is_triggered_only = yes

	option = { # Concede to terms
		name = department_of_state.216.a
		log = "[GetDateText]: [This.GetName]: department_of_state.216.a executed"
		add_political_power = -50
		ai_chance = {
			base = 1
		}
	}

	option = { # Retaliate
		name = department_of_state.216.b
		log = "[GetDateText]: [This.GetName]: department_of_state.216.b executed"
		decrease_economic_growth = yes
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_severe_confrontation
		}
		USA = {
			add_opinion_modifier = {
				target = ROOT
				modifier = usa_fp_severe_confrontation
			}
		}
		ai_chance = {
			base = 95
		}
	}
}

# Semiconductor Export Controls Notification
country_event = {
	id = department_of_state.217
	title = department_of_state.217.t
	desc = department_of_state.217.d
	picture = GFX_china_trade_dock
	is_triggered_only = yes

	option = { # Concede
		name = department_of_state.217.a
		log = "[GetDateText]: [This.GetName]: department_of_state.217.a executed"
		add_political_power = -75
		ai_chance = {
			base = 1
		}
	}

	option = { # Counter
		name = department_of_state.217.b
		log = "[GetDateText]: [This.GetName]: department_of_state.217.b executed"
		decrease_economic_growth = yes
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_severe_confrontation
		}
		USA = {
			add_opinion_modifier = {
				target = ROOT
				modifier = usa_fp_severe_confrontation
			}
		}
		ai_chance = {
			base = 95
		}
	}
}

# Hong Kong Autonomy Act Sanctions Notification
country_event = {
	id = department_of_state.218
	title = department_of_state.218.t
	desc = department_of_state.218.d
	picture = GFX_HKG_event_Co_Location_Bill
	is_triggered_only = yes

	option = { # Back down on Hong Kong
		name = department_of_state.218.a
		log = "[GetDateText]: [This.GetName]: department_of_state.218.a executed"
		add_political_power = -100
		add_stability = -0.03
		ai_chance = {
			base = 1
		}
	}

	option = { # Proceed
		name = department_of_state.218.b
		log = "[GetDateText]: [This.GetName]: department_of_state.218.b executed"
		decrease_economic_growth = yes
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_severe_confrontation
		}
		USA = {
			add_opinion_modifier = {
				target = ROOT
				modifier = usa_fp_severe_confrontation
			}
		}
		if = {
			limit = { country_exists = ENG }
			ENG = {
				add_opinion_modifier = {
					target = USA
					modifier = usa_fp_strategic_partnership
				}
			}
		}
		ai_chance = {
			base = 95
		}
	}
}

# Fentanyl Cartel FTO Designation (Mexico)
country_event = {
	id = department_of_state.219
	title = department_of_state.219.t
	desc = department_of_state.219.d
	picture = GFX_mexican_drug_war
	is_triggered_only = yes

	option = { # Cooperate
		name = department_of_state.219.a
		log = "[GetDateText]: [This.GetName]: department_of_state.219.a executed"
		add_stability = 0.02
		add_political_power = -25
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_strategic_partnership
		}
		add_relation_modifier = {
			target = USA
			modifier = generic_increased_cooperation
		}
		USA = {
			add_opinion_modifier = {
				target = ROOT
				modifier = usa_fp_strategic_partnership
			}
		}
		ai_chance = {
			base = 35
			modifier = {
				add = 20
				has_government = democratic
			}
		}
	}

	option = { # Refuse
		name = department_of_state.219.b
		log = "[GetDateText]: [This.GetName]: department_of_state.219.b executed"
		add_stability = -0.03
		decrease_economic_growth = yes
		add_opinion_modifier = {
			target = USA
			modifier = usa_fp_severe_confrontation
		}
		USA = {
			add_opinion_modifier = {
				target = ROOT
				modifier = usa_fp_severe_confrontation
			}
		}
		ai_chance = {
			base = 55
			modifier = {
				add = 20
				NOT = { has_government = democratic }
			}
		}
	}
}

# Hewlett-Packard corporate history
country_event = {
	id = usa_economic_events.300
	title = usa_economic_events.300.t
	desc = usa_economic_events.300.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_hp_compaq_merger_completed }
		NOT = { has_country_flag = USA_hp_kept_independent }
	}

	option = {
		name = usa_economic_events.300.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.300.a executed"
		add_political_power = -25
		add_stability = -0.005
		USA_hp_apply_compaq_merger_completed = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.300.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.300.b executed"
		USA_hp_apply_kept_independent = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.301
	title = usa_economic_events.301.t
	desc = usa_economic_events.301.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_hp_eds_services_platform }
		NOT = { has_country_flag = USA_hp_hardware_priority }
	}

	option = {
		name = usa_economic_events.301.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.301.a executed"
		add_political_power = -20
		USA_hp_apply_eds_services_platform = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.301.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.301.b executed"
		USA_hp_apply_hardware_priority = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.302
	title = usa_economic_events.302.t
	desc = usa_economic_events.302.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_hp_autonomy_acquired }
		NOT = { has_country_flag = USA_hp_devices_and_pc_business_preserved }
	}

	option = {
		name = usa_economic_events.302.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.302.a executed"
		add_political_power = -15
		set_temp_variable = { treasury_change = -11.10 }
		modify_treasury_effect = yes
		USA_hp_apply_autonomy_acquired = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.302.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.302.b executed"
		USA_hp_apply_devices_and_pc_business_preserved = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.303
	title = usa_economic_events.303.t
	desc = usa_economic_events.303.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_hp_enterprise_separation }
		NOT = { has_country_flag = USA_hp_integrated_company_retained }
	}

	option = {
		name = usa_economic_events.303.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.303.a executed"
		add_political_power = 10
		USA_hp_apply_enterprise_separation = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.303.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.303.b executed"
		USA_hp_apply_integrated_company_retained = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.304
	title = usa_economic_events.304.t
	desc = usa_economic_events.304.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_hp_xerox_bid_rejected }
		NOT = { has_country_flag = USA_hp_open_to_print_consolidation }
	}

	option = {
		name = usa_economic_events.304.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.304.a executed"
		add_political_power = 15
		USA_hp_apply_xerox_bid_rejected = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.304.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.304.b executed"
		USA_hp_apply_open_to_print_consolidation = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

# Dell corporate history
country_event = {
	id = usa_economic_events.310
	title = usa_economic_events.310.t
	desc = usa_economic_events.310.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_dell_founder_returns }
		NOT = { has_country_flag = USA_dell_professional_management }
	}

	option = {
		name = usa_economic_events.310.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.310.a executed"
		add_political_power = 10
		USA_dell_apply_founder_returns = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.310.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.310.b executed"
		USA_dell_apply_professional_management = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.311
	title = usa_economic_events.311.t
	desc = usa_economic_events.311.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_dell_perot_services_arm }
		NOT = { has_country_flag = USA_dell_hardware_focus }
	}

	option = {
		name = usa_economic_events.311.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.311.a executed"
		add_political_power = -15
		USA_dell_apply_perot_services_arm = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.311.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.311.b executed"
		USA_dell_apply_hardware_focus = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.312
	title = usa_economic_events.312.t
	desc = usa_economic_events.312.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_dell_go_private_silver_lake }
		NOT = { has_country_flag = USA_dell_stay_public }
	}

	option = {
		name = usa_economic_events.312.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.312.a executed"
		add_political_power = -25
		USA_dell_apply_go_private_silver_lake = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.312.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.312.b executed"
		USA_dell_apply_stay_public = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.313
	title = usa_economic_events.313.t
	desc = usa_economic_events.313.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_dell_emc_full_integration }
		NOT = { has_country_flag = USA_dell_emc_preserve_federation }
	}

	option = {
		name = usa_economic_events.313.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.313.a executed"
		add_political_power = -20
		USA_dell_apply_emc_full_integration = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.313.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.313.b executed"
		USA_dell_apply_emc_preserve_federation = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.314
	title = usa_economic_events.314.t
	desc = usa_economic_events.314.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_dell_spinoff_vmware_deleverage }
		NOT = { has_country_flag = USA_dell_retain_vmware_integrated }
	}

	option = {
		name = usa_economic_events.314.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.314.a executed"
		add_political_power = 15
		USA_dell_apply_spinoff_vmware_deleverage = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.314.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.314.b executed"
		USA_dell_apply_retain_vmware_integrated = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.315
	title = usa_economic_events.315.t
	desc = usa_economic_events.315.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_dell_ai_server_buildout }
		NOT = { has_country_flag = USA_dell_ai_selective_margin }
	}

	option = {
		name = usa_economic_events.315.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.315.a executed"
		add_political_power = -10
		USA_dell_apply_ai_server_buildout = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.315.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.315.b executed"
		USA_dell_apply_ai_selective_margin = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

# Oracle corporate history
country_event = {
	id = usa_economic_events.320
	title = usa_economic_events.320.t
	desc = usa_economic_events.320.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_oracle_peoplesoft_acquired }
		NOT = { has_country_flag = USA_oracle_organic_growth }
	}

	option = {
		name = usa_economic_events.320.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.320.a executed"
		add_political_power = -25
		USA_oracle_apply_peoplesoft_acquired = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.320.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.320.b executed"
		USA_oracle_apply_organic_growth = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.321
	title = usa_economic_events.321.t
	desc = usa_economic_events.321.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_oracle_sun_acquired }
		NOT = { has_country_flag = USA_oracle_software_only }
		NOT = { has_country_flag = USA_sun_independent_restructuring }
		NOT = { has_country_flag = USA_microsoft_sun_bid }
	}

	option = {
		name = usa_economic_events.321.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.321.a executed"
		add_political_power = -20
		USA_oracle_apply_sun_acquired = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.321.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.321.b executed"
		USA_oracle_apply_software_only = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.322
	title = usa_economic_events.322.t
	desc = usa_economic_events.322.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_oracle_java_litigation }
		NOT = { has_country_flag = USA_oracle_open_java_settlement }
	}

	option = {
		name = usa_economic_events.322.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.322.a executed"
		add_political_power = -30
		USA_oracle_apply_java_litigation = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.322.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.322.b executed"
		USA_oracle_apply_open_java_settlement = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.323
	title = usa_economic_events.323.t
	desc = usa_economic_events.323.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_oracle_cloud_infrastructure }
		NOT = { has_country_flag = USA_oracle_on_premise_focus }
	}

	option = {
		name = usa_economic_events.323.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.323.a executed"
		add_political_power = -15
		USA_oracle_apply_cloud_infrastructure = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.323.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.323.b executed"
		USA_oracle_apply_on_premise_focus = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.324
	title = usa_economic_events.324.t
	desc = usa_economic_events.324.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_oracle_cerner_acquired }
		NOT = { has_country_flag = USA_oracle_core_database_focus }
	}

	option = {
		name = usa_economic_events.324.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.324.a executed"
		add_political_power = -25
		USA_oracle_apply_cerner_acquired = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.324.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.324.b executed"
		USA_oracle_apply_core_database_focus = yes
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

# NVIDIA corporate history
country_event = {
	id = usa_economic_events.330
	title = usa_economic_events.330.t
	desc = usa_economic_events.330.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_nvidia_cuda_platform }
		NOT = { has_country_flag = USA_nvidia_graphics_focus }
	}

	option = {
		name = usa_economic_events.330.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.330.a executed"
		add_political_power = -20
		add_tech_bonus = {
			name = usa_economic_events.330.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_nvidia_cuda_platform
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.330.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.330.b executed"
		add_tech_bonus = {
			name = usa_economic_events.330.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_nvidia_graphics_focus
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.331
	title = usa_economic_events.331.t
	desc = usa_economic_events.331.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_nvidia_deep_learning_bet }
		NOT = { has_country_flag = USA_nvidia_graphics_priority }
	}

	option = {
		name = usa_economic_events.331.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.331.a executed"
		add_political_power = -15
		add_tech_bonus = {
			name = usa_economic_events.331.t
			bonus = 0.15
			uses = 1
			category = CAT_ai
		}
		set_country_flag = USA_nvidia_deep_learning_bet
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.331.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.331.b executed"
		add_tech_bonus = {
			name = usa_economic_events.331.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_nvidia_graphics_priority
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.332
	title = usa_economic_events.332.t
	desc = usa_economic_events.332.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_nvidia_datacenter_pivot }
		NOT = { has_country_flag = USA_nvidia_consumer_priority }
	}

	option = {
		name = usa_economic_events.332.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.332.a executed"
		set_temp_variable = { treasury_change = -6.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.332.t
			bonus = 0.15
			uses = 1
			category = CAT_ai
		}
		set_country_flag = USA_nvidia_datacenter_pivot
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.332.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.332.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.332.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_nvidia_consumer_priority
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.333
	title = usa_economic_events.333.t
	desc = usa_economic_events.333.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_nvidia_export_compliance }
		NOT = { has_country_flag = USA_nvidia_market_defence }
	}

	option = {
		name = usa_economic_events.333.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.333.a executed"
		add_political_power = 15
		add_tech_bonus = {
			name = usa_economic_events.333.t
			bonus = 0.10
			uses = 1
			category = CAT_ai
		}
		set_country_flag = USA_nvidia_export_compliance
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.333.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.333.b executed"
		set_temp_variable = { treasury_change = -4.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.333.t
			bonus = 0.15
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_nvidia_market_defence
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}
}

country_event = {
	id = usa_economic_events.334
	title = usa_economic_events.334.t
	desc = usa_economic_events.334.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_nvidia_accelerator_scale }
		NOT = { has_country_flag = USA_nvidia_supply_discipline }
	}

	option = {
		name = usa_economic_events.334.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.334.a executed"
		set_temp_variable = { treasury_change = -9.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.334.t
			bonus = 0.15
			uses = 1
			category = CAT_ai
		}
		set_country_flag = USA_nvidia_accelerator_scale
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.334.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.334.b executed"
		add_political_power = 20
		add_tech_bonus = {
			name = usa_economic_events.334.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		}
		set_country_flag = USA_nvidia_supply_discipline
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.335
	title = usa_economic_events.335.t
	desc = usa_economic_events.335.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		USA_nvidia_outcome_settled = no
	}

	option = {
		name = usa_economic_events.335.a
		trigger = {
			has_country_flag = USA_nvidia_cuda_platform
			has_country_flag = USA_nvidia_accelerator_scale
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.335.a executed"
		effect_tooltip = { add_timed_idea = { idea = USA_nvidia_cuda_fortress days = 365 } }
		hidden_effect = { USA_nvidia_apply_cuda_fortress = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.335.b
		trigger = {
			NOT = { has_country_flag = USA_nvidia_cuda_platform }
			has_country_flag = USA_nvidia_accelerator_scale
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.335.b executed"
		effect_tooltip = { add_ideas = USA_nvidia_sovereign_compute_stack }
		hidden_effect = { USA_nvidia_apply_sovereign_compute_stack = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.335.c
		trigger = {
			NOT = { has_country_flag = USA_nvidia_accelerator_scale }
			has_country_flag = USA_nvidia_export_compliance
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.335.c executed"
		effect_tooltip = { add_timed_idea = { idea = USA_nvidia_open_accelerator_commonwealth days = 365 } }
		hidden_effect = { USA_nvidia_apply_open_accelerator_commonwealth = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.335.e
		trigger = {
			NOT = { has_country_flag = USA_nvidia_accelerator_scale }
			NOT = { has_country_flag = USA_nvidia_export_compliance }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.335.e executed"
		effect_tooltip = { add_timed_idea = { idea = USA_nvidia_commodity_decline days = 365 } }
		hidden_effect = { USA_nvidia_apply_commodity_decline = yes }
		ai_chance = { base = 100 }
	}
}

# Micron corporate history
country_event = {
	id = usa_economic_events.340
	title = usa_economic_events.340.t
	desc = usa_economic_events.340.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_micron_flash_venture }
		NOT = { has_country_flag = USA_micron_dram_focus }
	}

	option = {
		name = usa_economic_events.340.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.340.a executed"
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.340.t
			bonus = 0.15
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_micron_flash_venture
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.340.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.340.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.340.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		}
		set_country_flag = USA_micron_dram_focus
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.341
	title = usa_economic_events.341.t
	desc = usa_economic_events.341.d
	picture = GFX_stock_market
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_micron_countercyclical_buy }
		NOT = { has_country_flag = USA_micron_capex_disciplined }
	}

	option = {
		name = usa_economic_events.341.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.341.a executed"
		set_temp_variable = { treasury_change = -5.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.341.t
			bonus = 0.15
			uses = 1
			category = CAT_industry
		}
		set_country_flag = USA_micron_countercyclical_buy
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.341.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.341.b executed"
		add_political_power = 15
		add_tech_bonus = {
			name = usa_economic_events.341.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_micron_capex_disciplined
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.342
	title = usa_economic_events.342.t
	desc = usa_economic_events.342.d
	picture = GFX_trade_agreement
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_micron_elpida_acquired }
		NOT = { has_country_flag = USA_micron_organic_capacity }
	}

	option = {
		name = usa_economic_events.342.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.342.a executed"
		set_temp_variable = { treasury_change = -2.50 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.342.t
			bonus = 0.15
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_micron_elpida_acquired
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.342.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.342.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.342.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		}
		set_country_flag = USA_micron_organic_capacity
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.343
	title = usa_economic_events.343.t
	desc = usa_economic_events.343.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_micron_lehi_sold }
		NOT = { has_country_flag = USA_micron_lehi_retained }
	}

	option = {
		name = usa_economic_events.343.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.343.a executed"
		set_temp_variable = { treasury_change = 1.50 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.343.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_micron_lehi_sold
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.343.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.343.b executed"
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.343.t
			bonus = 0.15
			uses = 1
			category = CAT_industry
		}
		set_country_flag = USA_micron_lehi_retained
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}
}

country_event = {
	id = usa_economic_events.344
	title = usa_economic_events.344.t
	desc = usa_economic_events.344.d
	picture = GFX_stock_market
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_micron_china_diversified }
		NOT = { has_country_flag = USA_micron_china_contested }
	}

	option = {
		name = usa_economic_events.344.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.344.a executed"
		set_temp_variable = { treasury_change = -2.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.344.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		}
		set_country_flag = USA_micron_china_diversified
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.344.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.344.b executed"
		add_political_power = -20
		add_tech_bonus = {
			name = usa_economic_events.344.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_micron_china_contested
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.345
	title = usa_economic_events.345.t
	desc = usa_economic_events.345.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		USA_micron_outcome_settled = no
	}

	option = {
		name = usa_economic_events.345.a
		trigger = {
			has_country_flag = USA_micron_china_diversified
			has_country_flag = USA_micron_countercyclical_buy
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.345.a executed"
		effect_tooltip = { add_ideas = USA_micron_american_memory_arsenal }
		hidden_effect = { USA_micron_apply_american_memory_arsenal = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.345.b
		trigger = {
			NOT = { has_country_flag = USA_micron_china_diversified }
			has_country_flag = USA_micron_elpida_acquired
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.345.b executed"
		effect_tooltip = { add_timed_idea = { idea = USA_micron_global_memory_federation days = 365 } }
		hidden_effect = { USA_micron_apply_global_memory_federation = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.345.c
		trigger = {
			has_country_flag = USA_micron_china_diversified
			NOT = { has_country_flag = USA_micron_countercyclical_buy }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.345.c executed"
		effect_tooltip = { add_timed_idea = { idea = USA_micron_nonvolatile_future days = 365 } }
		hidden_effect = { USA_micron_apply_nonvolatile_future = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.345.e
		trigger = {
			NOT = { has_country_flag = USA_micron_china_diversified }
			NOT = { has_country_flag = USA_micron_elpida_acquired }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.345.e executed"
		effect_tooltip = { add_timed_idea = { idea = USA_micron_memory_scale_discipline days = 365 } }
		hidden_effect = { USA_micron_apply_memory_scale_discipline = yes }
		ai_chance = { base = 100 }
	}
}

# Texas Instruments corporate history
country_event = {
	id = usa_economic_events.350
	title = usa_economic_events.350.t
	desc = usa_economic_events.350.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_ti_mobile_processors }
		NOT = { has_country_flag = USA_ti_analog_priority }
	}

	option = {
		name = usa_economic_events.350.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.350.a executed"
		set_temp_variable = { treasury_change = -2.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.350.t
			bonus = 0.15
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_ti_mobile_processors
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.350.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.350.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.350.t
			bonus = 0.10
			uses = 1
			category = CAT_electrical_tech
		}
		set_country_flag = USA_ti_analog_priority
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.351
	title = usa_economic_events.351.t
	desc = usa_economic_events.351.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_ti_research_lab }
		NOT = { has_country_flag = USA_ti_applied_only }
	}

	option = {
		name = usa_economic_events.351.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.351.a executed"
		add_political_power = -15
		add_tech_bonus = {
			name = usa_economic_events.351.t
			bonus = 0.15
			uses = 1
			category = CAT_electrical_tech
		}
		set_country_flag = USA_ti_research_lab
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.351.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.351.b executed"
		add_tech_bonus = {
			name = usa_economic_events.351.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		}
		set_country_flag = USA_ti_applied_only
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.352
	title = usa_economic_events.352.t
	desc = usa_economic_events.352.d
	picture = GFX_trade_agreement
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_ti_national_acquired }
		NOT = { has_country_flag = USA_ti_organic_analog }
	}

	option = {
		name = usa_economic_events.352.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.352.a executed"
		set_temp_variable = { treasury_change = -6.50 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.352.t
			bonus = 0.15
			uses = 1
			category = CAT_electrical_tech
		}
		set_country_flag = USA_ti_national_acquired
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.352.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.352.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.352.t
			bonus = 0.10
			uses = 1
			category = CAT_electrical_tech
		}
		set_country_flag = USA_ti_organic_analog
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.353
	title = usa_economic_events.353.t
	desc = usa_economic_events.353.d
	picture = GFX_stock_market
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_ti_handset_exit }
		NOT = { has_country_flag = USA_ti_handset_persisted }
	}

	option = {
		name = usa_economic_events.353.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.353.a executed"
		add_political_power = 15
		add_tech_bonus = {
			name = usa_economic_events.353.t
			bonus = 0.15
			uses = 1
			category = CAT_electrical_tech
		}
		set_country_flag = USA_ti_handset_exit
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.353.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.353.b executed"
		set_temp_variable = { treasury_change = -4.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.353.t
			bonus = 0.15
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_ti_handset_persisted
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}
}

country_event = {
	id = usa_economic_events.354
	title = usa_economic_events.354.t
	desc = {
		trigger = { has_country_flag = USA_micron_lehi_sold }
		text = usa_economic_events.354.d_available
	}
	desc = {
		trigger = { NOT = { has_country_flag = USA_micron_lehi_sold } }
		text = usa_economic_events.354.d_greenfield
	}
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_ti_lehi_converted }
		NOT = { has_country_flag = USA_ti_greenfield_only }
	}

	option = {
		name = usa_economic_events.354.a
		trigger = { has_country_flag = USA_micron_lehi_sold }
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.354.a executed"
		set_temp_variable = { treasury_change = -1.50 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.354.t
			bonus = 0.15
			uses = 1
			category = CAT_industry
		}
		set_country_flag = USA_ti_lehi_converted
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.354.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.354.b executed"
		set_temp_variable = { treasury_change = -5.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.354.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		}
		set_country_flag = USA_ti_greenfield_only
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				has_country_flag = USA_micron_lehi_sold
			}
		}
	}
}

country_event = {
	id = usa_economic_events.355
	title = usa_economic_events.355.t
	desc = usa_economic_events.355.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		USA_ti_outcome_settled = no
	}

	option = {
		name = usa_economic_events.355.a
		trigger = {
			has_country_flag = USA_ti_handset_exit
			has_country_flag = USA_ti_national_acquired
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.355.a executed"
		effect_tooltip = { add_timed_idea = { idea = USA_ti_analog_hegemony days = 365 } }
		hidden_effect = { USA_ti_apply_analog_hegemony = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.355.b
		trigger = {
			has_country_flag = USA_ti_handset_exit
			NOT = { has_country_flag = USA_ti_national_acquired }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.355.b executed"
		effect_tooltip = { add_ideas = USA_ti_silicon_arsenal }
		hidden_effect = { USA_ti_apply_silicon_arsenal = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.355.c
		trigger = {
			NOT = { has_country_flag = USA_ti_handset_exit }
			has_country_flag = USA_ti_lehi_converted
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.355.c executed"
		effect_tooltip = { add_ideas = USA_ti_foundational_foundry }
		hidden_effect = { USA_ti_apply_foundational_foundry = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.355.e
		trigger = {
			NOT = { has_country_flag = USA_ti_handset_exit }
			NOT = { has_country_flag = USA_ti_lehi_converted }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.355.e executed"
		effect_tooltip = { add_timed_idea = { idea = USA_ti_everything_connected days = 365 } }
		hidden_effect = { USA_ti_apply_everything_connected = yes }
		ai_chance = { base = 100 }
	}
}

# IBM corporate history
country_event = {
	id = usa_economic_events.360
	title = usa_economic_events.360.t
	desc = usa_economic_events.360.d
	picture = GFX_trade_agreement
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_ibm_services_pivot }
		NOT = { has_country_flag = USA_ibm_hardware_priority }
	}

	option = {
		name = usa_economic_events.360.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.360.a executed"
		set_temp_variable = { treasury_change = -3.50 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.360.t
			bonus = 0.15
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_ibm_services_pivot
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.360.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.360.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.360.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		}
		set_country_flag = USA_ibm_hardware_priority
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.361
	title = usa_economic_events.361.t
	desc = usa_economic_events.361.d
	picture = GFX_stock_market
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_ibm_pc_divested }
		NOT = { has_country_flag = USA_ibm_pc_retained }
	}

	option = {
		name = usa_economic_events.361.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.361.a executed"
		set_temp_variable = { treasury_change = 1.75 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.361.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_ibm_pc_divested
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.361.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.361.b executed"
		add_political_power = -20
		add_tech_bonus = {
			name = usa_economic_events.361.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		}
		set_country_flag = USA_ibm_pc_retained
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}
}

country_event = {
	id = usa_economic_events.362
	title = usa_economic_events.362.t
	desc = usa_economic_events.362.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_ibm_watson_bet }
		NOT = { has_country_flag = USA_ibm_incremental_analytics }
	}

	option = {
		name = usa_economic_events.362.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.362.a executed"
		set_temp_variable = { treasury_change = -4.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.362.t
			bonus = 0.15
			uses = 1
			category = CAT_ai
		}
		set_country_flag = USA_ibm_watson_bet
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.362.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.362.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.362.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_ibm_incremental_analytics
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.363
	title = usa_economic_events.363.t
	desc = usa_economic_events.363.d
	picture = GFX_trade_agreement
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_ibm_red_hat_acquired }
		NOT = { has_country_flag = USA_ibm_own_cloud }
	}

	option = {
		name = usa_economic_events.363.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.363.a executed"
		set_temp_variable = { treasury_change = -34.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.363.t
			bonus = 0.15
			uses = 1
			category = CAT_internet_tech
		}
		set_country_flag = USA_ibm_red_hat_acquired
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.363.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.363.b executed"
		set_temp_variable = { treasury_change = -8.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.363.t
			bonus = 0.10
			uses = 1
			category = CAT_internet_tech
		}
		set_country_flag = USA_ibm_own_cloud
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.364
	title = usa_economic_events.364.t
	desc = usa_economic_events.364.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_ibm_services_divided }
		NOT = { has_country_flag = USA_ibm_group_intact }
	}

	option = {
		name = usa_economic_events.364.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.364.a executed"
		add_political_power = 15
		add_tech_bonus = {
			name = usa_economic_events.364.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_ibm_services_divided
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.364.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.364.b executed"
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.364.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		}
		set_country_flag = USA_ibm_group_intact
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}
}

country_event = {
	id = usa_economic_events.365
	title = usa_economic_events.365.t
	desc = usa_economic_events.365.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		USA_ibm_outcome_settled = no
	}

	option = {
		name = usa_economic_events.365.a
		trigger = {
			has_country_flag = USA_ibm_red_hat_acquired
			has_country_flag = USA_ibm_services_divided
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.365.a executed"
		effect_tooltip = { add_timed_idea = { idea = USA_ibm_open_hybrid_flywheel days = 365 } }
		hidden_effect = { USA_ibm_apply_open_hybrid_flywheel = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.365.b
		trigger = {
			has_country_flag = USA_ibm_red_hat_acquired
			NOT = { has_country_flag = USA_ibm_services_divided }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.365.b executed"
		effect_tooltip = { add_ideas = USA_ibm_american_systems_ministry }
		hidden_effect = { USA_ibm_apply_american_systems_ministry = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.365.c
		trigger = {
			NOT = { has_country_flag = USA_ibm_red_hat_acquired }
			has_country_flag = USA_ibm_pc_divested
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.365.c executed"
		effect_tooltip = { add_timed_idea = { idea = USA_ibm_fortress_z days = 365 } }
		hidden_effect = { USA_ibm_apply_fortress_z = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.365.e
		trigger = {
			NOT = { has_country_flag = USA_ibm_red_hat_acquired }
			NOT = { has_country_flag = USA_ibm_pc_divested }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.365.e executed"
		effect_tooltip = { add_timed_idea = { idea = USA_ibm_big_blue_intact days = 365 } }
		hidden_effect = { USA_ibm_apply_big_blue_intact = yes }
		ai_chance = { base = 100 }
	}
}
# Apple corporate history
country_event = {
	id = usa_economic_events.370
	title = usa_economic_events.370.t
	desc = usa_economic_events.370.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_apple_retail_flywheel }
		NOT = { has_country_flag = USA_apple_macintosh_first }
	}

	option = {
		name = usa_economic_events.370.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.370.a executed"
		set_temp_variable = { treasury_change = -1.50 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.370.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		}
		set_country_flag = USA_apple_retail_flywheel
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.370.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.370.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.370.t
			bonus = 0.15
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_apple_macintosh_first
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.371
	title = usa_economic_events.371.t
	desc = usa_economic_events.371.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_apple_carrier_launch }
		NOT = { has_country_flag = USA_apple_open_mobile }
	}

	option = {
		name = usa_economic_events.371.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.371.a executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.371.t
			bonus = 0.15
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_apple_carrier_launch
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.371.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.371.b executed"
		set_temp_variable = { treasury_change = -2.50 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.371.t
			bonus = 0.10
			uses = 1
			category = CAT_internet_tech
		}
		set_country_flag = USA_apple_open_mobile
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}
}

country_event = {
	id = usa_economic_events.372
	title = usa_economic_events.372.t
	desc = usa_economic_events.372.d
	picture = GFX_trade_agreement
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_apple_curated_store }
		NOT = { has_country_flag = USA_apple_developer_commons }
	}

	option = {
		name = usa_economic_events.372.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.372.a executed"
		set_temp_variable = { treasury_change = 2.00 }
		modify_treasury_effect = yes
		set_country_flag = USA_apple_curated_store
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.372.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.372.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.372.t
			bonus = 0.10
			uses = 1
			category = CAT_internet_tech
		}
		set_country_flag = USA_apple_developer_commons
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.373
	title = usa_economic_events.373.t
	desc = usa_economic_events.373.d
	picture = GFX_stock_market
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_apple_services_flywheel }
		NOT = { has_country_flag = USA_apple_hardware_discipline }
	}

	option = {
		name = usa_economic_events.373.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.373.a executed"
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.373.t
			bonus = 0.10
			uses = 1
			category = CAT_internet_tech
		}
		set_country_flag = USA_apple_services_flywheel
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.373.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.373.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.373.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_apple_hardware_discipline
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.374
	title = usa_economic_events.374.t
	desc = usa_economic_events.374.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_apple_own_silicon }
		NOT = { has_country_flag = USA_apple_external_silicon }
	}

	option = {
		name = usa_economic_events.374.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.374.a executed"
		set_temp_variable = { treasury_change = -4.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.374.t
			bonus = 0.15
			uses = 1
			category = CAT_electrical_tech
		}
		set_country_flag = USA_apple_own_silicon
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.374.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.374.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.374.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_apple_external_silicon
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.375
	title = usa_economic_events.375.t
	desc = usa_economic_events.375.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		USA_apple_outcome_settled = no
	}

	option = {
		name = usa_economic_events.375.a
		trigger = {
			has_country_flag = USA_apple_curated_store
			has_country_flag = USA_apple_own_silicon
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.375.a executed"
		effect_tooltip = { add_timed_idea = { idea = USA_apple_private_computing_state days = 365 } }
		hidden_effect = { USA_apple_apply_private_computing_state = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.375.b
		trigger = {
			has_country_flag = USA_apple_curated_store
			NOT = { has_country_flag = USA_apple_own_silicon }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.375.b executed"
		effect_tooltip = { add_timed_idea = { idea = USA_apple_integrated_device_republic days = 365 } }
		hidden_effect = { USA_apple_apply_integrated_device_republic = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.375.c
		trigger = {
			NOT = { has_country_flag = USA_apple_curated_store }
			has_country_flag = USA_apple_own_silicon
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.375.c executed"
		effect_tooltip = { add_timed_idea = { idea = USA_apple_resilient_silicon_network days = 365 } }
		hidden_effect = { USA_apple_apply_resilient_silicon_network = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.375.e
		trigger = {
			NOT = { has_country_flag = USA_apple_curated_store }
			NOT = { has_country_flag = USA_apple_own_silicon }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.375.e executed"
		effect_tooltip = { add_timed_idea = { idea = USA_apple_platform_among_platforms days = 365 } }
		hidden_effect = { USA_apple_apply_platform_among_platforms = yes }
		ai_chance = { base = 100 }
	}
}
# Google corporate history
country_event = {
	id = usa_economic_events.380
	title = usa_economic_events.380.t
	desc = usa_economic_events.380.d
	picture = GFX_stock_market
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_google_founder_control }
		NOT = { has_country_flag = USA_google_conventional_governance }
	}

	option = {
		name = usa_economic_events.380.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.380.a executed"
		add_political_power = -10
		add_tech_bonus = {
			name = usa_economic_events.380.t
			bonus = 0.10
			uses = 1
			category = CAT_internet_tech
		}
		set_country_flag = USA_google_founder_control
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.380.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.380.b executed"
		set_temp_variable = { treasury_change = 2.00 }
		modify_treasury_effect = yes
		set_country_flag = USA_google_conventional_governance
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.381
	title = usa_economic_events.381.t
	desc = usa_economic_events.381.d
	picture = GFX_trade_agreement
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_google_bought_the_firehose }
		NOT = { has_country_flag = USA_google_built_slowly }
	}

	option = {
		name = usa_economic_events.381.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.381.a executed"
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.381.t
			bonus = 0.10
			uses = 1
			category = CAT_internet_tech
		}
		set_country_flag = USA_google_bought_the_firehose
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.381.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.381.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.381.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_google_built_slowly
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.382
	title = usa_economic_events.382.t
	desc = usa_economic_events.382.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_google_frontier_ai }
		NOT = { has_country_flag = USA_google_staged_deployment }
	}

	option = {
		name = usa_economic_events.382.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.382.a executed"
		set_temp_variable = { treasury_change = -4.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.382.t
			bonus = 0.15
			uses = 1
			category = CAT_ai
		}
		set_country_flag = USA_google_frontier_ai
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.382.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.382.b executed"
		set_temp_variable = { treasury_change = -1.50 }
		modify_treasury_effect = yes
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.382.t
			bonus = 0.10
			uses = 1
			category = CAT_ai
		}
		set_country_flag = USA_google_staged_deployment
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.383
	title = usa_economic_events.383.t
	desc = usa_economic_events.383.d
	picture = GFX_cyber_attack
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_google_defence_participation }
		NOT = { has_country_flag = USA_google_workforce_red_line }
	}

	option = {
		name = usa_economic_events.383.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.383.a executed"
		set_temp_variable = { treasury_change = 1.50 }
		modify_treasury_effect = yes
		add_command_power = 10
		set_country_flag = USA_google_defence_participation
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.383.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.383.b executed"
		add_political_power = -10
		add_stability = 0.02
		add_tech_bonus = {
			name = usa_economic_events.383.t
			bonus = 0.10
			uses = 1
			category = CAT_ai
		}
		set_country_flag = USA_google_workforce_red_line
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.384
	title = usa_economic_events.384.t
	desc = usa_economic_events.384.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_google_sovereign_tpu }
		NOT = { has_country_flag = USA_google_external_accelerators }
	}

	option = {
		name = usa_economic_events.384.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.384.a executed"
		set_temp_variable = { treasury_change = -6.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.384.t
			bonus = 0.15
			uses = 1
			category = CAT_electrical_tech
		}
		set_country_flag = USA_google_sovereign_tpu
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.384.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.384.b executed"
		set_temp_variable = { treasury_change = -2.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.384.t
			bonus = 0.10
			uses = 1
			category = CAT_ai
		}
		set_country_flag = USA_google_external_accelerators
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.385
	title = usa_economic_events.385.t
	desc = usa_economic_events.385.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		USA_google_outcome_settled = no
	}

	option = {
		name = usa_economic_events.385.a
		trigger = {
			has_country_flag = USA_google_frontier_ai
			has_country_flag = USA_google_sovereign_tpu
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.385.a executed"
		effect_tooltip = { add_timed_idea = { idea = USA_google_frontier_compute_power days = 365 } }
		hidden_effect = { USA_google_apply_frontier_compute_power = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.385.b
		trigger = {
			has_country_flag = USA_google_frontier_ai
			NOT = { has_country_flag = USA_google_sovereign_tpu }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.385.b executed"
		effect_tooltip = { add_timed_idea = { idea = USA_google_frontier_tenant days = 365 } }
		hidden_effect = { USA_google_apply_frontier_tenant = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.385.c
		trigger = {
			NOT = { has_country_flag = USA_google_frontier_ai }
			has_country_flag = USA_google_sovereign_tpu
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.385.c executed"
		effect_tooltip = { add_timed_idea = { idea = USA_google_governed_stack days = 365 } }
		hidden_effect = { USA_google_apply_governed_stack = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.385.e
		trigger = {
			NOT = { has_country_flag = USA_google_frontier_ai }
			NOT = { has_country_flag = USA_google_sovereign_tpu }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.385.e executed"
		effect_tooltip = { add_timed_idea = { idea = USA_google_cautious_platform days = 365 } }
		hidden_effect = { USA_google_apply_cautious_platform = yes }
		ai_chance = { base = 100 }
	}
}
# Motorola corporate history
country_event = {
	id = usa_economic_events.390
	title = usa_economic_events.390.t
	desc = usa_economic_events.390.d
	picture = GFX_cyber_attack
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_motorola_public_safety_first }
		NOT = { has_country_flag = USA_motorola_consumer_first }
	}

	option = {
		name = usa_economic_events.390.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.390.a executed"
		set_temp_variable = { treasury_change = -2.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.390.t
			bonus = 0.10
			uses = 1
			category = CAT_encryption_tech
		}
		set_country_flag = USA_motorola_public_safety_first
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.390.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.390.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.390.t
			bonus = 0.10
			uses = 1
			category = CAT_electrical_tech
		}
		set_country_flag = USA_motorola_consumer_first
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.391
	title = usa_economic_events.391.t
	desc = usa_economic_events.391.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_motorola_semis_spun_out }
		NOT = { has_country_flag = USA_motorola_semis_retained }
	}

	option = {
		name = usa_economic_events.391.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.391.a executed"
		set_temp_variable = { treasury_change = 2.50 }
		modify_treasury_effect = yes
		set_country_flag = USA_motorola_semis_spun_out
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.391.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.391.b executed"
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.391.t
			bonus = 0.15
			uses = 1
			category = CAT_electrical_tech
		}
		set_country_flag = USA_motorola_semis_retained
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}
}

country_event = {
	id = usa_economic_events.392
	title = usa_economic_events.392.t
	desc = usa_economic_events.392.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_motorola_joined_android }
		NOT = { has_country_flag = USA_motorola_own_platform }
	}

	option = {
		name = usa_economic_events.392.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.392.a executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.392.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_motorola_joined_android
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.392.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.392.b executed"
		set_temp_variable = { treasury_change = -4.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.392.t
			bonus = 0.15
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_motorola_own_platform
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}
}

country_event = {
	id = usa_economic_events.393
	title = usa_economic_events.393.t
	desc = usa_economic_events.393.d
	picture = GFX_stock_market
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_motorola_divided_the_name }
		NOT = { has_country_flag = USA_motorola_kept_intact }
	}

	option = {
		name = usa_economic_events.393.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.393.a executed"
		add_political_power = 15
		add_tech_bonus = {
			name = usa_economic_events.393.t
			bonus = 0.10
			uses = 1
			category = CAT_encryption_tech
		}
		set_country_flag = USA_motorola_divided_the_name
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.393.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.393.b executed"
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.393.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		}
		set_country_flag = USA_motorola_kept_intact
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}
}

country_event = {
	id = usa_economic_events.394
	title = usa_economic_events.394.t
	desc = usa_economic_events.394.d
	picture = GFX_trade_agreement
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_motorola_mobility_sold }
		NOT = { has_country_flag = USA_motorola_mobility_retained }
	}

	option = {
		name = usa_economic_events.394.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.394.a executed"
		set_temp_variable = { treasury_change = 3.00 }
		modify_treasury_effect = yes
		set_country_flag = USA_motorola_mobility_sold
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.394.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.394.b executed"
		set_temp_variable = { treasury_change = -5.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.394.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_motorola_mobility_retained
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}
}

country_event = {
	id = usa_economic_events.395
	title = usa_economic_events.395.t
	desc = usa_economic_events.395.d
	picture = GFX_cyber_attack
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		USA_motorola_outcome_settled = no
	}

	option = {
		name = usa_economic_events.395.a
		trigger = {
			has_country_flag = USA_motorola_semis_retained
			has_country_flag = USA_motorola_mobility_retained
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.395.a executed"
		effect_tooltip = { add_timed_idea = { idea = USA_motorola_integrated_communications_giant days = 365 } }
		hidden_effect = { USA_motorola_apply_integrated_communications_giant = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.395.b
		trigger = {
			has_country_flag = USA_motorola_semis_retained
			NOT = { has_country_flag = USA_motorola_mobility_retained }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.395.b executed"
		effect_tooltip = { add_timed_idea = { idea = USA_motorola_silicon_and_safety days = 365 } }
		hidden_effect = { USA_motorola_apply_silicon_and_safety = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.395.c
		trigger = {
			NOT = { has_country_flag = USA_motorola_semis_retained }
			has_country_flag = USA_motorola_mobility_retained
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.395.c executed"
		effect_tooltip = { add_timed_idea = { idea = USA_motorola_orphaned_handset_brand days = 365 } }
		hidden_effect = { USA_motorola_apply_orphaned_handset_brand = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.395.e
		trigger = {
			NOT = { has_country_flag = USA_motorola_semis_retained }
			NOT = { has_country_flag = USA_motorola_mobility_retained }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.395.e executed"
		effect_tooltip = { add_timed_idea = { idea = USA_motorola_public_safety_utility days = 365 } }
		hidden_effect = { USA_motorola_apply_public_safety_utility = yes }
		ai_chance = { base = 100 }
	}
}
# Microsoft corporate history
country_event = {
	id = usa_economic_events.400
	title = usa_economic_events.400.t
	desc = usa_economic_events.400.d
	picture = GFX_stock_market
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_microsoft_conduct_remedy }
		NOT = { has_country_flag = USA_microsoft_broken_up }
	}

	option = {
		name = usa_economic_events.400.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.400.a executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.400.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_microsoft_conduct_remedy
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.400.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.400.b executed"
		add_political_power = -15
		add_stability = 0.02
		add_tech_bonus = {
			name = usa_economic_events.400.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_microsoft_broken_up
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.401
	title = usa_economic_events.401.t
	desc = usa_economic_events.401.d
	picture = GFX_trade_agreement
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_microsoft_search_bid_failed }
		NOT = { has_country_flag = USA_microsoft_bought_the_challenger }
	}

	option = {
		name = usa_economic_events.401.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.401.a executed"
		add_political_power = 10
		set_country_flag = USA_microsoft_search_bid_failed
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.401.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.401.b executed"
		set_temp_variable = { treasury_change = -44.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.401.t
			bonus = 0.15
			uses = 1
			category = CAT_internet_tech
		}
		set_country_flag = USA_microsoft_bought_the_challenger
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}
}

country_event = {
	id = usa_economic_events.402
	title = usa_economic_events.402.t
	desc = usa_economic_events.402.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_microsoft_cloud_commitment }
		NOT = { has_country_flag = USA_microsoft_desktop_defence }
	}

	option = {
		name = usa_economic_events.402.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.402.a executed"
		set_temp_variable = { treasury_change = -8.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.402.t
			bonus = 0.15
			uses = 1
			category = CAT_internet_tech
		}
		set_country_flag = USA_microsoft_cloud_commitment
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.402.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.402.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.402.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_microsoft_desktop_defence
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.403
	title = usa_economic_events.403.t
	desc = usa_economic_events.403.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_microsoft_opened_the_stack }
		NOT = { has_country_flag = USA_microsoft_closed_the_stack }
	}

	option = {
		name = usa_economic_events.403.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.403.a executed"
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.403.t
			bonus = 0.10
			uses = 1
			category = CAT_internet_tech
		}
		set_country_flag = USA_microsoft_opened_the_stack
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.403.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.403.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.403.t
			bonus = 0.10
			uses = 1
			category = CAT_encryption_tech
		}
		set_country_flag = USA_microsoft_closed_the_stack
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.404
	title = usa_economic_events.404.t
	desc = usa_economic_events.404.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_microsoft_openai_wager }
		NOT = { has_country_flag = USA_microsoft_inhouse_models }
	}

	option = {
		name = usa_economic_events.404.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.404.a executed"
		set_temp_variable = { treasury_change = -13.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.404.t
			bonus = 0.15
			uses = 1
			category = CAT_ai
		}
		set_country_flag = USA_microsoft_openai_wager
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.404.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.404.b executed"
		set_temp_variable = { treasury_change = -6.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.404.t
			bonus = 0.10
			uses = 1
			category = CAT_ai
		}
		set_country_flag = USA_microsoft_inhouse_models
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.406
	title = usa_economic_events.406.t
	desc = usa_economic_events.406.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		has_country_flag = USA_microsoft_openai_wager
	}

	option = {
		name = usa_economic_events.406.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.406.a executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.406.t
			bonus = 0.10
			uses = 1
			category = CAT_ai
		}
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.406.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.406.b executed"
		set_temp_variable = { treasury_change = -8.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.406.t
			bonus = 0.15
			uses = 1
			category = CAT_ai
		}
		clr_country_flag = USA_microsoft_openai_wager
		set_country_flag = USA_microsoft_inhouse_models
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}
}

country_event = {
	id = usa_economic_events.405
	title = usa_economic_events.405.t
	desc = usa_economic_events.405.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		USA_microsoft_outcome_settled = no
	}

	option = {
		name = usa_economic_events.405.a
		trigger = {
			has_country_flag = USA_microsoft_cloud_commitment
			has_country_flag = USA_microsoft_openai_wager
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.405.a executed"
		effect_tooltip = { add_timed_idea = { idea = USA_microsoft_partnered_hyperscaler days = 365 } }
		hidden_effect = { USA_microsoft_apply_partnered_hyperscaler = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.405.b
		trigger = {
			has_country_flag = USA_microsoft_cloud_commitment
			NOT = { has_country_flag = USA_microsoft_openai_wager }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.405.b executed"
		effect_tooltip = { add_timed_idea = { idea = USA_microsoft_integrated_model_stack days = 365 } }
		hidden_effect = { USA_microsoft_apply_integrated_model_stack = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.405.c
		trigger = {
			NOT = { has_country_flag = USA_microsoft_cloud_commitment }
			has_country_flag = USA_microsoft_openai_wager
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.405.c executed"
		effect_tooltip = { add_timed_idea = { idea = USA_microsoft_licensed_intelligence days = 365 } }
		hidden_effect = { USA_microsoft_apply_licensed_intelligence = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.405.e
		trigger = {
			NOT = { has_country_flag = USA_microsoft_cloud_commitment }
			NOT = { has_country_flag = USA_microsoft_openai_wager }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.405.e executed"
		effect_tooltip = { add_timed_idea = { idea = USA_microsoft_sovereign_desktop days = 365 } }
		hidden_effect = { USA_microsoft_apply_sovereign_desktop = yes }
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = usa_economic_events.410
	title = usa_economic_events.410.t
	desc = usa_economic_events.410.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_intel_frequency_race }
		NOT = { has_country_flag = USA_intel_efficiency_turn }
	}

	option = {
		name = usa_economic_events.410.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.410.a executed"
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.410.t
			bonus = 0.15
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_intel_frequency_race
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.410.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.410.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.410.t
			bonus = 0.10
			uses = 1
			category = CAT_electrical_tech
		}
		set_country_flag = USA_intel_efficiency_turn
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.411
	title = usa_economic_events.411.t
	desc = usa_economic_events.411.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_intel_integrated_platform }
		NOT = { has_country_flag = USA_intel_open_components }
	}

	option = {
		name = usa_economic_events.411.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.411.a executed"
		set_temp_variable = { treasury_change = -2.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.411.t
			bonus = 0.15
			uses = 1
			category = CAT_internet_tech
		}
		set_country_flag = USA_intel_integrated_platform
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.411.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.411.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.411.t
			bonus = 0.10
			uses = 1
			category = CAT_electrical_tech
		}
		set_country_flag = USA_intel_open_components
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.412
	title = usa_economic_events.412.t
	desc = usa_economic_events.412.d
	picture = GFX_stock_market
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_intel_compliance_settlement }
		NOT = { has_country_flag = USA_intel_open_interfaces }
	}

	option = {
		name = usa_economic_events.412.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.412.a executed"
		add_political_power = -15
		add_tech_bonus = {
			name = usa_economic_events.412.t
			bonus = 0.15
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_intel_compliance_settlement
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.412.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.412.b executed"
		set_temp_variable = { treasury_change = 1.50 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.412.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_intel_open_interfaces
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.413
	title = usa_economic_events.413.t
	desc = usa_economic_events.413.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_intel_internal_process_rescue }
		NOT = { has_country_flag = USA_intel_outsourced_leading_edge }
	}

	option = {
		name = usa_economic_events.413.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.413.a executed"
		set_temp_variable = { treasury_change = -14.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.413.t
			bonus = 0.15
			uses = 1
			category = CAT_microchips
		}
		set_country_flag = USA_intel_internal_process_rescue
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.413.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.413.b executed"
		set_temp_variable = { treasury_change = 2.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.413.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_intel_outsourced_leading_edge
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.414
	title = usa_economic_events.414.t
	desc = usa_economic_events.414.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_intel_idm_foundry }
		NOT = { has_country_flag = USA_intel_product_first }
	}

	option = {
		name = usa_economic_events.414.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.414.a executed"
		set_temp_variable = { treasury_change = -20.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.414.t
			bonus = 0.15
			uses = 1
			category = CAT_microchips
		}
		set_country_flag = USA_intel_idm_foundry
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.414.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.414.b executed"
		add_political_power = 15
		add_tech_bonus = {
			name = usa_economic_events.414.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		set_country_flag = USA_intel_product_first
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.415
	title = usa_economic_events.415.t
	desc = usa_economic_events.415.d
	picture = GFX_stock_market
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_intel_federal_anchor }
		NOT = { has_country_flag = USA_intel_rejected_federal_stake }
	}

	option = {
		name = usa_economic_events.415.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.415.a executed"
		set_temp_variable = { treasury_change = -9.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.415.t
			bonus = 0.15
			uses = 1
			category = CAT_microchips
		}
		set_country_flag = USA_intel_federal_anchor
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.415.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.415.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.415.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		}
		set_country_flag = USA_intel_rejected_federal_stake
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.416
	title = usa_economic_events.416.t
	desc = usa_economic_events.416.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		USA_intel_outcome_settled = no
	}

	option = {
		name = usa_economic_events.416.a
		trigger = { has_country_flag = USA_intel_outsourced_leading_edge }
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.416.a executed"
		effect_tooltip = { add_timed_idea = { idea = USA_intel_fabless_architecture_house days = 365 } }
		hidden_effect = { USA_intel_apply_fabless_architecture_house = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.416.b
		trigger = {
			has_country_flag = USA_intel_federal_anchor
			NOT = { has_country_flag = USA_intel_outsourced_leading_edge }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.416.b executed"
		effect_tooltip = { add_ideas = USA_intel_domestic_silicon_arsenal }
		hidden_effect = { USA_intel_apply_domestic_silicon_arsenal = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.416.c
		trigger = {
			has_country_flag = USA_intel_idm_foundry
			NOT = { has_country_flag = USA_intel_outsourced_leading_edge }
			NOT = { has_country_flag = USA_intel_federal_anchor }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.416.c executed"
		effect_tooltip = { add_ideas = USA_intel_integrated_compute_foundry }
		hidden_effect = { USA_intel_apply_integrated_compute_foundry = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.416.e
		trigger = {
			NOT = { has_country_flag = USA_intel_outsourced_leading_edge }
			NOT = { has_country_flag = USA_intel_federal_anchor }
			NOT = { has_country_flag = USA_intel_idm_foundry }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.416.e executed"
		effect_tooltip = { add_ideas = USA_intel_open_systems_foundry }
		hidden_effect = { USA_intel_apply_open_systems_foundry = yes }
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = usa_economic_events.440
	title = usa_economic_events.440.t
	desc = usa_economic_events.440.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = {
			OR = {
				has_country_flag = USA_palantir_foundry_accountable
				has_country_flag = USA_palantir_foundry_government
				has_country_flag = USA_palantir_foundry_commercial
				has_country_flag = USA_palantir_foundry_independent
			}
		}
	}

	option = {
		name = usa_economic_events.440.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.440.a executed"
		set_country_flag = USA_palantir_foundry_accountable
		add_political_power = -10
		add_stability = 0.01
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
		}
	}

	option = {
		name = usa_economic_events.440.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.440.b executed"
		set_country_flag = USA_palantir_foundry_government
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.440.t
			bonus = 0.10
			uses = 1
			category = CAT_ai
		}
		ai_chance = {
			base = 30
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.440.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.440.c executed"
		set_country_flag = USA_palantir_foundry_commercial
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.440.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		ai_chance = {
			base = 85
			modifier = { factor = 10 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.440.d_option
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.440.d_option executed"
		set_country_flag = USA_palantir_foundry_independent
		add_political_power = 15
		ai_chance = {
			base = 20
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}
}

country_event = {
	id = usa_economic_events.441
	title = usa_economic_events.441.t
	desc = usa_economic_events.441.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = {
			OR = {
				has_country_flag = USA_palantir_ruling_accountable
				has_country_flag = USA_palantir_ruling_government
				has_country_flag = USA_palantir_ruling_commercial
				has_country_flag = USA_palantir_ruling_independent
			}
		}
	}

	option = {
		name = usa_economic_events.441.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.441.a executed"
		set_country_flag = USA_palantir_ruling_accountable
		add_political_power = -10
		add_stability = 0.01
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
		}
	}

	option = {
		name = usa_economic_events.441.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.441.b executed"
		set_country_flag = USA_palantir_ruling_government
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.441.t
			bonus = 0.10
			uses = 1
			category = CAT_ai
		}
		ai_chance = {
			base = 30
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.441.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.441.c executed"
		set_country_flag = USA_palantir_ruling_commercial
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.441.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.441.d_option
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.441.d_option executed"
		set_country_flag = USA_palantir_ruling_independent
		add_political_power = 15
		ai_chance = {
			base = 85
			modifier = { factor = 10 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}
}

country_event = {
	id = usa_economic_events.442
	title = usa_economic_events.442.t
	desc = usa_economic_events.442.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = {
			OR = {
				has_country_flag = USA_palantir_listing_accountable
				has_country_flag = USA_palantir_listing_government
				has_country_flag = USA_palantir_listing_commercial
				has_country_flag = USA_palantir_listing_independent
			}
		}
	}

	option = {
		name = usa_economic_events.442.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.442.a executed"
		set_country_flag = USA_palantir_listing_accountable
		add_political_power = -10
		add_stability = 0.01
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
		}
	}

	option = {
		name = usa_economic_events.442.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.442.b executed"
		set_country_flag = USA_palantir_listing_government
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.442.t
			bonus = 0.10
			uses = 1
			category = CAT_ai
		}
		ai_chance = {
			base = 30
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.442.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.442.c executed"
		set_country_flag = USA_palantir_listing_commercial
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.442.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		ai_chance = {
			base = 85
			modifier = { factor = 10 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.442.d_option
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.442.d_option executed"
		set_country_flag = USA_palantir_listing_independent
		add_political_power = 15
		ai_chance = {
			base = 20
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}
}

country_event = {
	id = usa_economic_events.443
	title = usa_economic_events.443.t
	desc = usa_economic_events.443.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = {
			OR = {
				has_country_flag = USA_palantir_tiberius_accountable
				has_country_flag = USA_palantir_tiberius_government
				has_country_flag = USA_palantir_tiberius_commercial
				has_country_flag = USA_palantir_tiberius_independent
			}
		}
	}

	option = {
		name = usa_economic_events.443.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.443.a executed"
		set_country_flag = USA_palantir_tiberius_accountable
		add_political_power = -10
		add_stability = 0.01
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
		}
	}

	option = {
		name = usa_economic_events.443.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.443.b executed"
		set_country_flag = USA_palantir_tiberius_government
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.443.t
			bonus = 0.10
			uses = 1
			category = CAT_ai
		}
		ai_chance = {
			base = 85
			modifier = { factor = 10 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.443.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.443.c executed"
		set_country_flag = USA_palantir_tiberius_commercial
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.443.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.443.d_option
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.443.d_option executed"
		set_country_flag = USA_palantir_tiberius_independent
		add_political_power = 15
		ai_chance = {
			base = 20
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}
}

country_event = {
	id = usa_economic_events.444
	title = usa_economic_events.444.t
	desc = usa_economic_events.444.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = {
			OR = {
				has_country_flag = USA_palantir_data_fabric_accountable
				has_country_flag = USA_palantir_data_fabric_government
				has_country_flag = USA_palantir_data_fabric_commercial
				has_country_flag = USA_palantir_data_fabric_independent
			}
		}
	}

	option = {
		name = usa_economic_events.444.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.444.a executed"
		set_country_flag = USA_palantir_data_fabric_accountable
		add_political_power = -10
		add_stability = 0.01
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
		}
	}

	option = {
		name = usa_economic_events.444.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.444.b executed"
		set_country_flag = USA_palantir_data_fabric_government
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.444.t
			bonus = 0.10
			uses = 1
			category = CAT_ai
		}
		ai_chance = {
			base = 85
			modifier = { factor = 10 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.444.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.444.c executed"
		set_country_flag = USA_palantir_data_fabric_commercial
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.444.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.444.d_option
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.444.d_option executed"
		set_country_flag = USA_palantir_data_fabric_independent
		add_political_power = 15
		ai_chance = {
			base = 20
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}
}

country_event = {
	id = usa_economic_events.445
	title = usa_economic_events.445.t
	desc = usa_economic_events.445.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = {
			OR = {
				has_country_flag = USA_palantir_titan_prototype_accountable
				has_country_flag = USA_palantir_titan_prototype_government
				has_country_flag = USA_palantir_titan_prototype_commercial
				has_country_flag = USA_palantir_titan_prototype_independent
			}
		}
	}

	option = {
		name = usa_economic_events.445.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.445.a executed"
		set_country_flag = USA_palantir_titan_prototype_accountable
		add_political_power = -10
		add_stability = 0.01
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
		}
	}

	option = {
		name = usa_economic_events.445.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.445.b executed"
		set_country_flag = USA_palantir_titan_prototype_government
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.445.t
			bonus = 0.10
			uses = 1
			category = CAT_ai
		}
		ai_chance = {
			base = 85
			modifier = { factor = 10 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.445.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.445.c executed"
		set_country_flag = USA_palantir_titan_prototype_commercial
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.445.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.445.d_option
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.445.d_option executed"
		set_country_flag = USA_palantir_titan_prototype_independent
		add_political_power = 15
		ai_chance = {
			base = 20
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}
}

country_event = {
	id = usa_economic_events.446
	title = usa_economic_events.446.t
	desc = usa_economic_events.446.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = {
			OR = {
				has_country_flag = USA_palantir_aip_accountable
				has_country_flag = USA_palantir_aip_government
				has_country_flag = USA_palantir_aip_commercial
				has_country_flag = USA_palantir_aip_independent
			}
		}
	}

	option = {
		name = usa_economic_events.446.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.446.a executed"
		set_country_flag = USA_palantir_aip_accountable
		add_political_power = -10
		add_stability = 0.01
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = {
				factor = 3
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
		}
	}

	option = {
		name = usa_economic_events.446.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.446.b executed"
		set_country_flag = USA_palantir_aip_government
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.446.t
			bonus = 0.10
			uses = 1
			category = CAT_ai
		}
		ai_chance = {
			base = 30
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = {
				factor = 0
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.446.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.446.c executed"
		set_country_flag = USA_palantir_aip_commercial
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.446.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		ai_chance = {
			base = 85
			modifier = { factor = 10 is_historical_focus_on = yes }
			modifier = {
				factor = 0
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.446.d_option
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.446.d_option executed"
		set_country_flag = USA_palantir_aip_independent
		add_political_power = 15
		ai_chance = {
			base = 20
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = {
				factor = 0
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}
}

country_event = {
	id = usa_economic_events.447
	title = usa_economic_events.447.t
	desc = usa_economic_events.447.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = {
			OR = {
				has_country_flag = USA_palantir_nhs_accountable
				has_country_flag = USA_palantir_nhs_government
				has_country_flag = USA_palantir_nhs_commercial
				has_country_flag = USA_palantir_nhs_independent
			}
		}
	}

	option = {
		name = usa_economic_events.447.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.447.a executed"
		set_country_flag = USA_palantir_nhs_accountable
		add_political_power = -10
		add_stability = 0.01
		ai_chance = {
			base = 85
			modifier = { factor = 10 is_historical_focus_on = yes }
			modifier = {
				factor = 3
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
		}
	}

	option = {
		name = usa_economic_events.447.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.447.b executed"
		set_country_flag = USA_palantir_nhs_government
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.447.t
			bonus = 0.10
			uses = 1
			category = CAT_ai
		}
		ai_chance = {
			base = 30
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = {
				factor = 0
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.447.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.447.c executed"
		set_country_flag = USA_palantir_nhs_commercial
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.447.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = {
				factor = 0
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.447.d_option
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.447.d_option executed"
		set_country_flag = USA_palantir_nhs_independent
		add_political_power = 15
		ai_chance = {
			base = 20
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = {
				factor = 0
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}
}

country_event = {
	id = usa_economic_events.448
	title = usa_economic_events.448.t
	desc = usa_economic_events.448.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = {
			OR = {
				has_country_flag = USA_palantir_titan_prime_accountable
				has_country_flag = USA_palantir_titan_prime_government
				has_country_flag = USA_palantir_titan_prime_commercial
				has_country_flag = USA_palantir_titan_prime_independent
			}
		}
	}

	option = {
		name = usa_economic_events.448.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.448.a executed"
		set_country_flag = USA_palantir_titan_prime_accountable
		add_political_power = -10
		add_stability = 0.01
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = {
				factor = 3
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
		}
	}

	option = {
		name = usa_economic_events.448.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.448.b executed"
		set_country_flag = USA_palantir_titan_prime_government
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.448.t
			bonus = 0.10
			uses = 1
			category = CAT_ai
		}
		ai_chance = {
			base = 85
			modifier = { factor = 10 is_historical_focus_on = yes }
			modifier = {
				factor = 0
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.448.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.448.c executed"
		set_country_flag = USA_palantir_titan_prime_commercial
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.448.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = {
				factor = 0
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.448.d_option
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.448.d_option executed"
		set_country_flag = USA_palantir_titan_prime_independent
		add_political_power = 15
		ai_chance = {
			base = 20
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = {
				factor = 0
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}
}

country_event = {
	id = usa_economic_events.449
	title = usa_economic_events.449.t
	desc = usa_economic_events.449.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = {
			OR = {
				has_country_flag = USA_palantir_maven_accountable
				has_country_flag = USA_palantir_maven_government
				has_country_flag = USA_palantir_maven_commercial
				has_country_flag = USA_palantir_maven_independent
			}
		}
	}

	option = {
		name = usa_economic_events.449.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.449.a executed"
		set_country_flag = USA_palantir_maven_accountable
		add_political_power = -10
		add_stability = 0.01
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = {
				factor = 3
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
		}
	}

	option = {
		name = usa_economic_events.449.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.449.b executed"
		set_country_flag = USA_palantir_maven_government
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.449.t
			bonus = 0.10
			uses = 1
			category = CAT_ai
		}
		ai_chance = {
			base = 85
			modifier = { factor = 10 is_historical_focus_on = yes }
			modifier = {
				factor = 0
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.449.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.449.c executed"
		set_country_flag = USA_palantir_maven_commercial
		add_political_power = 10
		add_tech_bonus = {
			name = usa_economic_events.449.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = {
				factor = 0
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.449.d_option
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.449.d_option executed"
		set_country_flag = USA_palantir_maven_independent
		add_political_power = 15
		ai_chance = {
			base = 20
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = {
				factor = 0
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}
}

country_event = {
	id = usa_economic_events.450
	title = usa_economic_events.450.t
	desc = usa_economic_events.450.d
	picture = GFX_court
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = {
			OR = {
				has_country_flag = USA_palantir_defense_operating_system
				has_country_flag = USA_palantir_dual_use_platform
				has_country_flag = USA_palantir_public_data_infrastructure
				has_country_flag = USA_palantir_commercial_ai_platform
			}
		}
	}

	option = {
		name = usa_economic_events.450.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.450.a executed"
		set_country_flag = USA_palantir_defense_operating_system
		add_ideas = USA_palantir_corporate_defense_operating_system
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = {
				factor = 0
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.450.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.450.b executed"
		set_country_flag = USA_palantir_dual_use_platform
		add_ideas = USA_palantir_corporate_dual_use_operating_platform
		ai_chance = {
			base = 85
			modifier = { factor = 10 is_historical_focus_on = yes }
			modifier = {
				factor = 0
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.450.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.450.c executed"
		set_country_flag = USA_palantir_public_data_infrastructure
		add_ideas = USA_palantir_corporate_accountable_public_data_infrastructure
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = {
				factor = 3
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
		}
	}

	option = {
		name = usa_economic_events.450.d_option
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.450.d_option executed"
		set_country_flag = USA_palantir_commercial_ai_platform
		add_ideas = USA_palantir_corporate_commercial_ai_platform
		ai_chance = {
			base = 20
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = {
				factor = 0
				check_variable = { var = USA_ai_core_infrastructure_burden value = 8 compare = greater_than_or_equals }
			}
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 ai_has_major_economic_problems = yes }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}
}

# The AIG rescue, September 2008 onward. Hangs off the existing financial-crisis flags.
country_event = {
	id = usa_economic_events.460
	title = usa_economic_events.460.t
	desc = usa_economic_events.460.d
	picture = GFX_aig_headquarters
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_game_rule = { rule = rule_corporate_history option = full }
		has_global_flag = USA_great_financial_crisis
		NOT = {
			OR = {
				has_country_flag = USA_aig_direct_rescue_chosen
				has_country_flag = USA_aig_consortium_attempted
				has_country_flag = USA_aig_no_bailout
			}
		}
	}

	option = {
		name = usa_economic_events.460.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.460.a executed"
		set_country_flag = USA_aig_direct_rescue_chosen
		set_temp_variable = { treasury_change = -40 }
		modify_treasury_effect = yes
		add_stability = 0.02
		hidden_effect = { country_event = { id = usa_economic_events.461 days = 1 } }
		ai_chance = {
			base = 60
			modifier = { factor = 10 is_historical_focus_on = yes }
			modifier = { factor = 2 has_country_flag = usa_bailout_one }
			modifier = { factor = 0.5 check_variable = { treasury < 40 } }
			modifier = { factor = 1.5 check_variable = { treasury > 80 } }
		}
	}

	option = {
		name = usa_economic_events.460.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.460.b executed"
		set_country_flag = USA_aig_consortium_attempted
		hidden_effect = { country_event = { id = usa_economic_events.461 days = 1 } }
		ai_chance = {
			base = 20
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { add = 10 check_variable = { treasury < 40 } }
		}
	}

	option = {
		name = usa_economic_events.460.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.460.c executed"
		set_country_flag = USA_aig_no_bailout
		recession = yes
		add_stability = -0.03
		hidden_effect = { country_event = { id = usa_economic_events.463 days = 2 } }
		ai_chance = {
			base = 10
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { factor = 3 has_country_flag = usa_nothing_one }
		}
	}
}

# Hidden weekend router: resolves the private-consortium attempt so the federal rescue
# and the bankruptcy branch each keep a single visible caller.
country_event = {
	id = usa_economic_events.461
	is_triggered_only = yes
	hidden = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
	}

	immediate = {
		if = {
			limit = { has_country_flag = USA_aig_consortium_attempted }
			random_list = {
				35 = {
					set_country_flag = USA_aig_consortium_succeeded
					set_country_flag = USA_aig_rescue_active
					country_event = { id = usa_economic_events.464 days = 14 }
				}
				65 = { country_event = { id = usa_economic_events.462 days = 1 } }
			}
		}
		else = { country_event = { id = usa_economic_events.462 days = 1 } }
	}
}

country_event = {
	id = usa_economic_events.462
	title = usa_economic_events.462.t
	desc = usa_economic_events.462.d
	picture = GFX_aig_headquarters
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = {
			OR = {
				has_country_flag = USA_aig_equity_stake
				has_country_flag = USA_aig_creditor_only
			}
		}
	}

	# The rescue marker belongs to the event, not to either option: .464 fires on a fixed
	# offset and must not depend on the player having answered this popup first.
	immediate = {
		set_country_flag = USA_aig_rescue_active
		country_event = { id = usa_economic_events.464 days = 13 }
	}

	option = {
		name = usa_economic_events.462.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.462.a executed"
		set_country_flag = USA_aig_equity_stake
		add_stability = 0.01
		ai_chance = {
			base = 70
			modifier = { factor = 5 is_historical_focus_on = yes }
		}
	}

	option = {
		name = usa_economic_events.462.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.462.b executed"
		set_country_flag = USA_aig_creditor_only
		add_political_power = 25
		ai_chance = {
			base = 30
			modifier = { factor = 0.1 is_historical_focus_on = yes }
		}
	}
}

country_event = {
	id = usa_economic_events.463
	title = usa_economic_events.463.t
	desc = usa_economic_events.463.d
	picture = GFX_aig_headquarters
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_aig_bankruptcy_path }
	}

	option = {
		name = usa_economic_events.463.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.463.a executed"
		set_country_flag = USA_aig_bankruptcy_path
		set_temp_variable = { treasury_change = -25 }
		modify_treasury_effect = yes
		add_stability = -0.01
		hidden_effect = { country_event = { id = usa_economic_events.474 days = 30 } }
		ai_chance = {
			base = 70
			modifier = { factor = 0.5 check_variable = { treasury < 25 } }
			modifier = { factor = 1.5 check_variable = { treasury > 50 } }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.463.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.463.b executed"
		set_country_flag = USA_aig_bankruptcy_path
		recession = yes
		add_stability = -0.03
		hidden_effect = { country_event = { id = usa_economic_events.474 days = 30 } }
		ai_chance = {
			base = 30
			modifier = { add = 40 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { add = 40 check_variable = { treasury < 0 } }
		}
	}
}

country_event = {
	id = usa_economic_events.464
	title = usa_economic_events.464.t
	desc = usa_economic_events.464.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_country_flag = USA_aig_rescue_active
	}

	option = {
		name = usa_economic_events.464.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.464.a executed"
		add_stability = -0.01
		hidden_effect = { country_event = { id = usa_economic_events.465 days = 7 } }
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = usa_economic_events.465
	title = usa_economic_events.465.t
	desc = usa_economic_events.465.d
	picture = GFX_aig_headquarters
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_country_flag = USA_aig_rescue_active
		NOT = {
			OR = {
				has_country_flag = USA_aig_securities_facility
				has_country_flag = USA_aig_facility_refused
			}
		}
	}

	immediate = { country_event = { id = usa_economic_events.466 days = 33 } }

	option = {
		name = usa_economic_events.465.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.465.a executed"
		set_country_flag = USA_aig_securities_facility
		set_temp_variable = { treasury_change = -15 }
		modify_treasury_effect = yes
		add_stability = 0.01
		ai_chance = {
			base = 75
			modifier = { factor = 5 is_historical_focus_on = yes }
			modifier = { factor = 0.5 check_variable = { treasury < 15 } }
			modifier = { factor = 1.5 check_variable = { treasury > 30 } }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.465.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.465.b executed"
		set_country_flag = USA_aig_facility_refused
		add_stability = -0.02
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { factor = 3 has_country_flag = USA_aig_consortium_succeeded }
			modifier = { add = 30 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { add = 30 check_variable = { treasury < 0 } }
		}
	}
}

country_event = {
	id = usa_economic_events.466
	title = usa_economic_events.466.t
	desc = usa_economic_events.466.d
	picture = GFX_aig_headquarters
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_country_flag = USA_aig_rescue_active
		NOT = {
			OR = {
				has_country_flag = USA_aig_restructured
				has_country_flag = USA_aig_original_terms
			}
		}
	}

	immediate = { country_event = { id = usa_economic_events.467 days = 23 } }

	option = {
		name = usa_economic_events.466.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.466.a executed"
		set_country_flag = USA_aig_restructured
		set_temp_variable = { treasury_change = -20 }
		modify_treasury_effect = yes
		add_stability = 0.01
		ai_chance = {
			base = 75
			modifier = { factor = 5 is_historical_focus_on = yes }
			modifier = { factor = 0.5 check_variable = { treasury < 20 } }
			modifier = { factor = 1.5 check_variable = { treasury > 40 } }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.466.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.466.b executed"
		set_country_flag = USA_aig_original_terms
		add_political_power = 25
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { add = 30 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { add = 30 check_variable = { treasury < 0 } }
		}
	}
}

country_event = {
	id = usa_economic_events.467
	title = usa_economic_events.467.t
	desc = usa_economic_events.467.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_country_flag = USA_aig_rescue_active
		NOT = {
			OR = {
				has_country_flag = USA_aig_ml3_par_path
				has_country_flag = USA_aig_haircuts_attempted
			}
		}
	}

	option = {
		name = usa_economic_events.467.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.467.a executed"
		set_country_flag = USA_aig_ml3_par_path
		set_temp_variable = { treasury_change = -20 }
		modify_treasury_effect = yes
		add_stability = 0.02
		hidden_effect = { country_event = { id = usa_economic_events.469 days = 13 } }
		ai_chance = {
			base = 75
			modifier = { factor = 5 is_historical_focus_on = yes }
			modifier = { factor = 0.5 check_variable = { treasury < 20 } }
			modifier = { factor = 1.5 check_variable = { treasury > 40 } }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.467.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.467.b executed"
		set_country_flag = USA_aig_haircuts_attempted
		add_political_power = 25
		hidden_effect = {
			if = {
				limit = { country_exists = FRA }
				FRA = { add_opinion_modifier = { target = ROOT modifier = note_of_protest } }
			}
			if = {
				limit = { country_exists = GER }
				GER = { add_opinion_modifier = { target = ROOT modifier = note_of_protest } }
			}
			if = {
				limit = { country_exists = SWI }
				SWI = { add_opinion_modifier = { target = ROOT modifier = note_of_protest } }
			}
			if = {
				limit = { country_exists = ENG }
				ENG = { add_opinion_modifier = { target = ROOT modifier = note_of_protest } }
			}
			country_event = { id = usa_economic_events.468 days = 5 }
		}
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { add = 40 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { add = 40 check_variable = { treasury < 0 } }
		}
	}
}

# Hidden roll first, then the visible option each result allows: the negotiation
# outcome is not the player's to pick.
country_event = {
	id = usa_economic_events.468
	title = usa_economic_events.468.t
	desc = usa_economic_events.468.d
	picture = GFX_aig_headquarters
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_country_flag = USA_aig_haircuts_attempted
	}

	immediate = {
		random_list = {
			20 = { set_country_flag = USA_aig_haircuts_partial }
			80 = { set_country_flag = USA_aig_haircuts_failed }
		}
		country_event = { id = usa_economic_events.469 days = 8 }
	}

	option = {
		name = usa_economic_events.468.a
		trigger = { has_country_flag = USA_aig_haircuts_failed }
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.468.a executed"
		set_country_flag = USA_aig_ml3_par_path
		set_temp_variable = { treasury_change = -20 }
		modify_treasury_effect = yes
		add_stability = 0.01
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.468.b
		trigger = { has_country_flag = USA_aig_haircuts_partial }
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.468.b executed"
		set_country_flag = USA_aig_ml3_concession_path
		set_temp_variable = { treasury_change = -12 }
		modify_treasury_effect = yes
		add_stability = 0.01
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = usa_economic_events.469
	title = usa_economic_events.469.t
	desc = usa_economic_events.469.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_country_flag = USA_aig_rescue_active
		NOT = {
			OR = {
				has_country_flag = USA_aig_ml2_active
				has_country_flag = USA_aig_ml2_declined
			}
		}
	}

	immediate = { country_event = { id = usa_economic_events.470 days = 88 } }

	option = {
		name = usa_economic_events.469.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.469.a executed"
		set_country_flag = USA_aig_ml2_active
		set_temp_variable = { treasury_change = -15 }
		modify_treasury_effect = yes
		add_stability = 0.01
		ai_chance = {
			base = 75
			modifier = { factor = 5 is_historical_focus_on = yes }
			modifier = { factor = 0.5 check_variable = { treasury < 15 } }
			modifier = { factor = 1.5 check_variable = { treasury > 30 } }
			modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { factor = 0 check_variable = { treasury < 0 } }
		}
	}

	option = {
		name = usa_economic_events.469.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.469.b executed"
		set_country_flag = USA_aig_ml2_declined
		add_stability = -0.01
		ai_chance = {
			base = 25
			modifier = { factor = 0.1 is_historical_focus_on = yes }
			modifier = { add = 30 has_active_mission = bankruptcy_incoming_collapse }
			modifier = { add = 30 check_variable = { treasury < 0 } }
		}
	}
}

country_event = {
	id = usa_economic_events.470
	title = usa_economic_events.470.t
	desc = usa_economic_events.470.d
	picture = GFX_aig_headquarters
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_country_flag = USA_aig_rescue_active
		NOT = {
			OR = {
				has_country_flag = USA_aig_counterparties_disclosed
				has_country_flag = USA_aig_disclosure_delayed
			}
		}
	}

	immediate = { country_event = { id = usa_economic_events.471 days = 2 } }

	option = {
		name = usa_economic_events.470.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.470.a executed"
		set_country_flag = USA_aig_counterparties_disclosed
		add_political_power = -50
		ai_chance = {
			base = 70
			modifier = { factor = 5 is_historical_focus_on = yes }
		}
	}

	option = {
		name = usa_economic_events.470.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.470.b executed"
		set_country_flag = USA_aig_disclosure_delayed
		add_stability = 0.01
		ai_chance = {
			base = 30
			modifier = { factor = 0.1 is_historical_focus_on = yes }
		}
	}
}

country_event = {
	id = usa_economic_events.471
	title = usa_economic_events.471.t
	desc = usa_economic_events.471.d
	picture = GFX_aig_headquarters
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_country_flag = USA_aig_rescue_active
		NOT = {
			OR = {
				has_country_flag = USA_aig_bonuses_honored
				has_country_flag = USA_aig_bonuses_clawed_back
			}
		}
	}

	# Sealed counterparty names surface alongside the bonuses, not instead of them.
	immediate = {
		if = {
			limit = { has_country_flag = USA_aig_disclosure_delayed }
			add_stability = -0.02
		}
		country_event = { id = usa_economic_events.472 days = 348 }
	}

	option = {
		name = usa_economic_events.471.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.471.a executed"
		set_country_flag = USA_aig_bonuses_honored
		add_political_power = -75
		ai_chance = {
			base = 60
			modifier = { factor = 5 is_historical_focus_on = yes }
		}
	}

	option = {
		name = usa_economic_events.471.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.471.b executed"
		set_country_flag = USA_aig_bonuses_clawed_back
		add_political_power = -25
		ai_chance = {
			base = 40
			modifier = { factor = 0.1 is_historical_focus_on = yes }
		}
	}
}

country_event = {
	id = usa_economic_events.472
	title = usa_economic_events.472.t
	desc = usa_economic_events.472.d
	picture = GFX_aig_headquarters
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_country_flag = USA_aig_rescue_active
		NOT = {
			OR = {
				has_country_flag = USA_aig_methodical_divestment
				has_country_flag = USA_aig_rapid_divestment
			}
		}
	}

	immediate = { country_event = { id = usa_economic_events.473 days = 319 } }

	option = {
		name = usa_economic_events.472.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.472.a executed"
		set_country_flag = USA_aig_methodical_divestment
		add_political_power = 25
		ai_chance = {
			base = 65
			modifier = { factor = 5 is_historical_focus_on = yes }
		}
	}

	option = {
		name = usa_economic_events.472.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.472.b executed"
		set_country_flag = USA_aig_rapid_divestment
		add_stability = -0.01
		ai_chance = {
			base = 35
			modifier = { factor = 0.1 is_historical_focus_on = yes }
		}
	}
}

country_event = {
	id = usa_economic_events.473
	title = usa_economic_events.473.t
	desc = usa_economic_events.473.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_country_flag = USA_aig_rescue_active
		NOT = {
			OR = {
				has_country_flag = USA_aig_fed_repaid
				has_country_flag = USA_aig_facility_extended
			}
		}
	}

	immediate = { country_event = { id = usa_economic_events.474 days = 700 } }

	option = {
		name = usa_economic_events.473.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.473.a executed"
		set_country_flag = USA_aig_fed_repaid
		set_temp_variable = { treasury_change = 30 }
		modify_treasury_effect = yes
		add_stability = 0.01
		ai_chance = {
			base = 80
			modifier = { factor = 5 is_historical_focus_on = yes }
		}
	}

	option = {
		name = usa_economic_events.473.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.473.b executed"
		set_country_flag = USA_aig_facility_extended
		ai_chance = {
			base = 20
			modifier = { factor = 0.1 is_historical_focus_on = yes }
		}
	}
}

country_event = {
	id = usa_economic_events.474
	title = usa_economic_events.474.t
	desc = usa_economic_events.474.d
	picture = GFX_aig_headquarters
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = {
			OR = {
				has_country_flag = USA_aig_outcome_creditor_bail_in
				has_country_flag = USA_aig_outcome_taxpayer_vindication
				has_country_flag = USA_aig_outcome_orderly_resolution
				has_country_flag = USA_aig_outcome_liquidationist
				has_country_flag = USA_aig_outcome_moral_hazard
			}
		}
	}

	option = {
		name = usa_economic_events.474.a
		trigger = { has_country_flag = USA_aig_ml3_concession_path }
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.474.a executed"
		set_country_flag = USA_aig_outcome_creditor_bail_in
		add_ideas = USA_aig_creditor_bail_in_precedent
		ai_chance = { base = 50 }
	}

	option = {
		name = usa_economic_events.474.b
		trigger = {
			has_country_flag = USA_aig_fed_repaid
			has_country_flag = USA_aig_methodical_divestment
			NOT = { has_country_flag = USA_aig_ml3_concession_path }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.474.b executed"
		set_country_flag = USA_aig_outcome_taxpayer_vindication
		add_ideas = USA_aig_taxpayer_vindication
		ai_chance = {
			base = 50
			modifier = { factor = 10 is_historical_focus_on = yes }
		}
	}

	option = {
		name = usa_economic_events.474.c
		trigger = {
			has_country_flag = USA_aig_counterparties_disclosed
			has_country_flag = USA_aig_bonuses_clawed_back
			NOT = { has_country_flag = USA_aig_ml3_concession_path }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.474.c executed"
		set_country_flag = USA_aig_outcome_orderly_resolution
		add_ideas = USA_aig_orderly_resolution_regime
		ai_chance = { base = 50 }
	}

	option = {
		name = usa_economic_events.474.d_option
		trigger = { has_country_flag = USA_aig_bankruptcy_path }
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.474.d_option executed"
		set_country_flag = USA_aig_outcome_liquidationist
		add_ideas = USA_aig_liquidationist_precedent
		ai_chance = { base = 50 }
	}

	option = {
		name = usa_economic_events.474.e
		trigger = { has_country_flag = USA_aig_rescue_active }
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.474.e executed"
		set_country_flag = USA_aig_outcome_moral_hazard
		add_ideas = USA_aig_moral_hazard_settlement
		ai_chance = { base = 25 }
	}
}

country_event = {
	id = usa_economic_events.475
	title = usa_economic_events.475.t
	desc = usa_economic_events.475.d
	picture = GFX_USA_generic
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_microsoft_broken_up }
		NOT = { has_country_flag = USA_microsoft_sun_interoperability_compact }
		NOT = { has_country_flag = USA_microsoft_sun_separate_procurement }
	}

	option = {
		name = usa_economic_events.475.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.475.a executed"
		add_political_power = -10
		add_stability = 0.005
		add_tech_bonus = {
			name = usa_economic_events.475.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		hidden_effect = { set_country_flag = USA_microsoft_sun_interoperability_compact }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.475.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.475.b executed"
		add_political_power = 10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.0025 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_microsoft_sun_separate_procurement }
		ai_chance = {
			base = 40
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.476
	title = usa_economic_events.476.t
	desc = usa_economic_events.476.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_sun_open_source_stack }
		NOT = { has_country_flag = USA_sun_dual_licensing }
	}

	option = {
		name = usa_economic_events.476.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.476.a executed"
		add_political_power = -10
		add_tech_bonus = {
			name = usa_economic_events.476.t
			bonus = 0.10
			uses = 1
			category = CAT_internet_tech
		}
		hidden_effect = { set_country_flag = USA_sun_open_source_stack }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.476.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.476.b executed"
		add_political_power = 10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = 0.0025 tooltip = productivity_growth_modifier_tt }
		hidden_effect = { set_country_flag = USA_sun_dual_licensing }
		ai_chance = {
			base = 40
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.477
	title = usa_economic_events.477.t
	desc = usa_economic_events.477.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_sun_mysql_open_governance }
		NOT = { has_country_flag = USA_sun_mysql_commercial_stack }
	}

	option = {
		name = usa_economic_events.477.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.477.a executed"
		add_political_power = -10
		add_tech_bonus = {
			name = usa_economic_events.477.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		hidden_effect = { set_country_flag = USA_sun_mysql_open_governance }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.477.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.477.b executed"
		add_political_power = 10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.0025 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_sun_mysql_commercial_stack }
		ai_chance = {
			base = 40
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.478
	title = usa_economic_events.478.t
	desc = usa_economic_events.478.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_sun_oracle_acquisition }
		NOT = { has_country_flag = USA_sun_independent_restructuring }
		NOT = { has_country_flag = USA_microsoft_sun_bid }
	}

	option = {
		name = usa_economic_events.478.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.478.a executed"
		add_political_power = 10
		USA_oracle_apply_sun_acquired = yes
		hidden_effect = { set_country_flag = USA_sun_oracle_acquisition }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.478.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.478.b executed"
		add_political_power = -20
		add_stability = 0.005
		add_tech_bonus = {
			name = usa_economic_events.478.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		hidden_effect = { set_country_flag = USA_sun_independent_restructuring }
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.478.c
		trigger = { has_country_flag = USA_allowed_microsoft_merger }
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.478.c executed"
		add_political_power = -15
		add_stability = -0.01
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.0025 tooltip = industrial_capacity_factory_tt }
		hidden_effect = {
			set_country_flag = USA_microsoft_sun_bid
			country_event = { id = usa_economic_events.479 days = 30 random_days = 30 }
		}
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.479
	title = usa_economic_events.479.t
	desc = usa_economic_events.479.d
	picture = GFX_court
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		has_country_flag = USA_microsoft_sun_bid
		NOT = { has_country_flag = USA_sun_foundation_stewardship }
		NOT = { has_country_flag = USA_microsoft_sun_full_integration }
	}

	option = {
		name = usa_economic_events.479.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.479.a executed"
		add_political_power = -20
		add_stability = 0.01
		add_tech_bonus = {
			name = usa_economic_events.479.t
			bonus = 0.10
			uses = 1
			category = CAT_internet_tech
		}
		hidden_effect = { set_country_flag = USA_sun_foundation_stewardship }
		ai_chance = { base = 55 }
	}

	option = {
		name = usa_economic_events.479.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.479.b executed"
		add_political_power = 15
		add_stability = -0.01
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.005 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_microsoft_sun_full_integration }
		ai_chance = { base = 45 }
	}
}

country_event = {
	id = usa_economic_events.480
	title = usa_economic_events.480.t
	desc = usa_economic_events.480.d
	picture = GFX_generic_factory
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_microsoft_nokia_double_down }
		NOT = { has_country_flag = USA_microsoft_nokia_exit }
		NOT = { has_country_flag = USA_microsoft_nokia_spinoff }
	}

	option = {
		name = usa_economic_events.480.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.480.a executed"
		add_political_power = -10
		add_stability = -0.005
		hidden_effect = { set_country_flag = USA_microsoft_nokia_double_down }
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.480.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.480.b executed"
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = 0.0025 tooltip = productivity_growth_modifier_tt }
		hidden_effect = { set_country_flag = USA_microsoft_nokia_exit }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.480.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.480.c executed"
		add_political_power = -5
		hidden_effect = { set_country_flag = USA_microsoft_nokia_spinoff }
		ai_chance = {
			base = 30
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.481
	title = usa_economic_events.481.t
	desc = usa_economic_events.481.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_microsoft_linkedin_integrated }
		NOT = { has_country_flag = USA_microsoft_linkedin_conditions }
		NOT = { has_country_flag = USA_microsoft_linkedin_blocked }
	}

	option = {
		name = usa_economic_events.481.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.481.a executed"
		add_political_power = -10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.0025 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_microsoft_linkedin_integrated }
		ai_chance = {
			base = 30
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.481.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.481.b executed"
		add_tech_bonus = {
			name = usa_economic_events.481.t
			bonus = 0.10
			uses = 1
			category = CAT_internet_tech
		}
		hidden_effect = { set_country_flag = USA_microsoft_linkedin_conditions }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.481.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.481.c executed"
		add_political_power = -10
		add_stability = 0.005
		hidden_effect = { set_country_flag = USA_microsoft_linkedin_blocked }
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.482
	title = usa_economic_events.482.t
	desc = usa_economic_events.482.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_microsoft_github_autonomy }
		NOT = { has_country_flag = USA_microsoft_github_azure_integration }
		NOT = { has_country_flag = USA_microsoft_github_blocked }
	}

	option = {
		name = usa_economic_events.482.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.482.a executed"
		add_political_power = -10
		add_stability = 0.005
		add_tech_bonus = {
			name = usa_economic_events.482.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		hidden_effect = { set_country_flag = USA_microsoft_github_autonomy }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.482.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.482.b executed"
		add_political_power = 10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.0025 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_microsoft_github_azure_integration }
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.482.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.482.c executed"
		add_political_power = -15
		add_stability = 0.005
		add_tech_bonus = {
			name = usa_economic_events.482.t
			bonus = 0.10
			uses = 1
			category = CAT_encryption_tech
		}
		hidden_effect = { set_country_flag = USA_microsoft_github_blocked }
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.483
	title = usa_economic_events.483.t
	desc = {
		text = usa_economic_events.483.d_oracle
		trigger = { has_country_flag = USA_sun_oracle_acquisition }
	}
	desc = {
		text = usa_economic_events.483.d_independent
		trigger = { has_country_flag = USA_sun_independent_restructuring }
	}
	desc = {
		text = usa_economic_events.483.d_microsoft
		trigger = { has_country_flag = USA_microsoft_sun_bid }
	}
	picture = GFX_USA_generic
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		OR = {
			has_country_flag = USA_sun_oracle_acquisition
			has_country_flag = USA_sun_independent_restructuring
			AND = {
				has_country_flag = USA_microsoft_sun_bid
				OR = {
					has_country_flag = USA_sun_foundation_stewardship
					has_country_flag = USA_microsoft_sun_full_integration
				}
			}
		}
		NOT = { has_country_flag = USA_microsoft_oracle_managed_interconnect }
		NOT = { has_country_flag = USA_microsoft_vendor_neutral_gateway }
		NOT = { has_country_flag = USA_microsoft_clouds_separate }
		NOT = { has_country_flag = USA_microsoft_java_governance_neutral }
		NOT = { has_country_flag = USA_microsoft_sun_absorbed_into_azure }
	}

	option = {
		name = usa_economic_events.483.a
		trigger = {
			OR = {
				has_country_flag = USA_sun_oracle_acquisition
				has_country_flag = USA_sun_independent_restructuring
			}
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.483.a executed"
		add_political_power = -10
		add_stability = 0.005
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = 0.0025 tooltip = productivity_growth_modifier_tt }
		hidden_effect = { set_country_flag = USA_microsoft_oracle_managed_interconnect }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.483.b
		trigger = {
			OR = {
				has_country_flag = USA_sun_oracle_acquisition
				has_country_flag = USA_sun_independent_restructuring
			}
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.483.b executed"
		add_political_power = -15
		add_tech_bonus = {
			name = usa_economic_events.483.t
			bonus = 0.10
			uses = 1
			category = CAT_internet_tech
		}
		hidden_effect = { set_country_flag = USA_microsoft_vendor_neutral_gateway }
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.483.c
		trigger = {
			OR = {
				has_country_flag = USA_sun_oracle_acquisition
				has_country_flag = USA_sun_independent_restructuring
			}
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.483.c executed"
		add_political_power = 10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.0025 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_microsoft_clouds_separate }
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.483.d
		trigger = { has_country_flag = USA_microsoft_sun_bid }
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.483.d executed"
		add_political_power = -15
		add_tech_bonus = {
			name = usa_economic_events.483.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		hidden_effect = { set_country_flag = USA_microsoft_java_governance_neutral }
		ai_chance = { base = 55 }
	}

	option = {
		name = usa_economic_events.483.e
		trigger = { has_country_flag = USA_microsoft_sun_bid }
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.483.e executed"
		add_political_power = 15
		add_stability = -0.005
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.005 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_microsoft_sun_absorbed_into_azure }
		ai_chance = { base = 45 }
	}
}

country_event = {
	id = usa_economic_events.484
	title = usa_economic_events.484.t
	desc = usa_economic_events.484.d
	picture = GFX_special_forces
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_microsoft_ivas_fielded }
		NOT = { has_country_flag = USA_microsoft_ivas_restructured }
		NOT = { has_country_flag = USA_microsoft_ivas_challenger }
	}

	option = {
		name = usa_economic_events.484.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.484.a executed"
		add_political_power = -10
		add_tech_bonus = {
			name = usa_economic_events.484.t
			bonus = 0.10
			uses = 1
			category = CAT_computing_tech
		}
		hidden_effect = { set_country_flag = USA_microsoft_ivas_fielded }
		ai_chance = {
			base = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.484.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.484.b executed"
		add_political_power = -5
		hidden_effect = { set_country_flag = USA_microsoft_ivas_restructured }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.484.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.484.c executed"
		add_stability = 0.005
		hidden_effect = { set_country_flag = USA_microsoft_ivas_challenger }
		ai_chance = {
			base = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.485
	title = usa_economic_events.485.t
	desc = usa_economic_events.485.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_microsoft_activision_approved }
		NOT = { has_country_flag = USA_microsoft_activision_remedies }
		NOT = { has_country_flag = USA_microsoft_activision_blocked }
	}

	option = {
		name = usa_economic_events.485.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.485.a executed"
		add_political_power = 10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.005 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_microsoft_activision_approved }
		ai_chance = {
			base = 30
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.485.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.485.b executed"
		add_political_power = -5
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.0025 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_microsoft_activision_remedies }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.485.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.485.c executed"
		add_political_power = -10
		add_stability = 0.005
		hidden_effect = { set_country_flag = USA_microsoft_activision_blocked }
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.486
	title = usa_economic_events.486.t
	desc = usa_economic_events.486.d
	picture = GFX_cyber_attack
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_microsoft_security_first }
		NOT = { has_country_flag = USA_microsoft_security_balanced }
		NOT = { has_country_flag = USA_microsoft_ship_fast }
	}

	option = {
		name = usa_economic_events.486.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.486.a executed"
		add_political_power = -15
		add_stability = 0.005
		add_tech_bonus = {
			name = usa_economic_events.486.t
			bonus = 0.10
			uses = 1
			category = CAT_encryption_tech
		}
		hidden_effect = { set_country_flag = USA_microsoft_security_first }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.486.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.486.b executed"
		add_political_power = -10
		add_stability = 0.005
		add_tech_bonus = {
			name = usa_economic_events.486.t
			bonus = 0.10
			uses = 1
			category = CAT_encryption_tech
		}
		hidden_effect = { set_country_flag = USA_microsoft_security_balanced }
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.486.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.486.c executed"
		add_political_power = 15
		add_stability = -0.005
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.0025 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_microsoft_ship_fast }
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.487
	title = usa_economic_events.487.t
	desc = usa_economic_events.487.d
	picture = GFX_spacex_announcement
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_spacex_integrated_rd }
		NOT = { has_country_flag = USA_spacex_contract_first }
		NOT = { has_country_flag = USA_spacex_off_the_shelf_speed }
	}

	option = {
		name = usa_economic_events.487.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.487.a executed"
		add_political_power = -10
		add_tech_bonus = {
			name = usa_economic_events.487.t
			bonus = 0.10
			uses = 1
			category = CAT_space
		}
		hidden_effect = { set_country_flag = USA_spacex_integrated_rd }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.487.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.487.b executed"
		add_political_power = 10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.0025 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_spacex_contract_first }
		ai_chance = {
			base = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.487.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.487.c executed"
		add_political_power = -5
		add_stability = 0.005
		hidden_effect = { set_country_flag = USA_spacex_off_the_shelf_speed }
		ai_chance = {
			base = 15
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.488
	title = usa_economic_events.488.t
	desc = usa_economic_events.488.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_spacex_cargo_dual_source }
		NOT = { has_country_flag = USA_spacex_cargo_single_champion }
		NOT = { has_country_flag = USA_spacex_shuttle_extended }
	}

	option = {
		name = usa_economic_events.488.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.488.a executed"
		add_political_power = -10
		add_stability = 0.005
		add_tech_bonus = {
			name = usa_economic_events.488.t
			bonus = 0.10
			uses = 1
			category = CAT_space
		}
		hidden_effect = { set_country_flag = USA_spacex_cargo_dual_source }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.488.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.488.b executed"
		add_political_power = 10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.0025 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_spacex_cargo_single_champion }
		ai_chance = {
			base = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.488.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.488.c executed"
		add_political_power = -15
		add_stability = 0.01
		hidden_effect = { set_country_flag = USA_spacex_shuttle_extended }
		ai_chance = {
			base = 15
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.489
	title = usa_economic_events.489.t
	desc = usa_economic_events.489.d
	picture = GFX_spacex_announcement
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_spacex_flight_test_iteration }
		NOT = { has_country_flag = USA_spacex_oversight_tightened }
		NOT = { has_country_flag = USA_spacex_prime_consolidation }
	}

	option = {
		name = usa_economic_events.489.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.489.a executed"
		add_political_power = -10
		add_tech_bonus = {
			name = usa_economic_events.489.t
			bonus = 0.10
			uses = 1
			category = CAT_space
		}
		hidden_effect = { set_country_flag = USA_spacex_flight_test_iteration }
		ai_chance = {
			base = 65
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.489.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.489.b executed"
		add_political_power = 5
		add_stability = 0.005
		hidden_effect = { set_country_flag = USA_spacex_oversight_tightened }
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.489.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.489.c executed"
		add_political_power = 10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.0025 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_spacex_prime_consolidation }
		ai_chance = {
			base = 15
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.490
	title = usa_economic_events.490.t
	desc = usa_economic_events.490.d
	picture = GFX_spacex_announcement
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_spacex_civil_qualified }
		NOT = { has_country_flag = USA_spacex_conservative_certification }
		NOT = { has_country_flag = USA_spacex_commercial_only }
	}

	option = {
		name = usa_economic_events.490.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.490.a executed"
		add_political_power = -10
		add_tech_bonus = {
			name = usa_economic_events.490.t
			bonus = 0.10
			uses = 1
			category = CAT_space
		}
		hidden_effect = { set_country_flag = USA_spacex_civil_qualified }
		ai_chance = {
			base = 65
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.490.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.490.b executed"
		add_political_power = -5
		add_stability = 0.005
		hidden_effect = { set_country_flag = USA_spacex_conservative_certification }
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.490.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.490.c executed"
		add_political_power = 10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = 0.0025 tooltip = productivity_growth_modifier_tt }
		hidden_effect = { set_country_flag = USA_spacex_commercial_only }
		ai_chance = {
			base = 15
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.491
	title = usa_economic_events.491.t
	desc = usa_economic_events.491.d
	picture = GFX_spacex_announcement
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_spacex_reuse_ramp }
		NOT = { has_country_flag = USA_spacex_cadence_conservative }
		NOT = { has_country_flag = USA_spacex_expendable_revenue }
	}

	option = {
		name = usa_economic_events.491.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.491.a executed"
		add_political_power = -15
		add_tech_bonus = {
			name = usa_economic_events.491.t
			bonus = 0.10
			uses = 1
			category = CAT_space
		}
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.0025 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_spacex_reuse_ramp }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.491.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.491.b executed"
		add_political_power = -5
		add_stability = 0.005
		hidden_effect = { set_country_flag = USA_spacex_cadence_conservative }
		ai_chance = {
			base = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.491.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.491.c executed"
		add_political_power = 10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = 0.0025 tooltip = productivity_growth_modifier_tt }
		hidden_effect = { set_country_flag = USA_spacex_expendable_revenue }
		ai_chance = {
			base = 15
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.492
	title = usa_economic_events.492.t
	desc = usa_economic_events.492.d
	picture = GFX_spacex_mars
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_spacex_heavy_national_missions }
		NOT = { has_country_flag = USA_spacex_heavy_commercial_only }
		NOT = { has_country_flag = USA_spacex_heavy_deferred }
	}

	option = {
		name = usa_economic_events.492.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.492.a executed"
		add_political_power = -10
		add_tech_bonus = {
			name = usa_economic_events.492.t
			bonus = 0.10
			uses = 1
			category = CAT_space
		}
		hidden_effect = { set_country_flag = USA_spacex_heavy_national_missions }
		ai_chance = {
			base = 65
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.492.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.492.b executed"
		add_political_power = 5
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = 0.0025 tooltip = productivity_growth_modifier_tt }
		hidden_effect = { set_country_flag = USA_spacex_heavy_commercial_only }
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.492.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.492.c executed"
		add_political_power = -5
		add_stability = 0.005
		hidden_effect = { set_country_flag = USA_spacex_heavy_deferred }
		ai_chance = {
			base = 15
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.493
	title = usa_economic_events.493.t
	desc = usa_economic_events.493.d
	picture = GFX_spacex_announcement
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_spacex_starlink_allied }
		NOT = { has_country_flag = USA_spacex_starlink_commercial }
		NOT = { has_country_flag = USA_spacex_starlink_restricted }
	}

	option = {
		name = usa_economic_events.493.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.493.a executed"
		add_political_power = -10
		add_tech_bonus = {
			name = usa_economic_events.493.t
			bonus = 0.10
			uses = 1
			category = CAT_satellite
		}
		hidden_effect = { set_country_flag = USA_spacex_starlink_allied }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.493.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.493.b executed"
		add_political_power = 10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = 0.0025 tooltip = productivity_growth_modifier_tt }
		hidden_effect = { set_country_flag = USA_spacex_starlink_commercial }
		ai_chance = {
			base = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.493.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.493.c executed"
		add_political_power = -10
		add_stability = 0.005
		hidden_effect = { set_country_flag = USA_spacex_starlink_restricted }
		ai_chance = {
			base = 15
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.494
	title = usa_economic_events.494.t
	desc = usa_economic_events.494.d
	picture = GFX_spacex_announcement
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_spacex_crew_certified }
		NOT = { has_country_flag = USA_spacex_crew_dual_provider }
		NOT = { has_country_flag = USA_spacex_crew_adjunct }
	}

	option = {
		name = usa_economic_events.494.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.494.a executed"
		add_political_power = -10
		add_stability = 0.005
		add_tech_bonus = {
			name = usa_economic_events.494.t
			bonus = 0.10
			uses = 1
			category = CAT_space
		}
		hidden_effect = { set_country_flag = USA_spacex_crew_certified }
		ai_chance = {
			base = 65
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.494.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.494.b executed"
		add_political_power = -15
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.0025 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_spacex_crew_dual_provider }
		ai_chance = {
			base = 20
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.494.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.494.c executed"
		add_political_power = 10
		add_stability = -0.005
		hidden_effect = { set_country_flag = USA_spacex_crew_adjunct }
		ai_chance = {
			base = 15
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.495
	title = usa_economic_events.495.t
	desc = usa_economic_events.495.d
	picture = GFX_spacex_mars
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_spacex_hls_awarded }
		NOT = { has_country_flag = USA_spacex_hls_split }
		NOT = { has_country_flag = USA_spacex_hls_government_lander }
	}

	option = {
		name = usa_economic_events.495.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.495.a executed"
		add_political_power = -10
		add_tech_bonus = {
			name = usa_economic_events.495.t
			bonus = 0.10
			uses = 1
			category = CAT_space
		}
		hidden_effect = { set_country_flag = USA_spacex_hls_awarded }
		ai_chance = {
			base = 65
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.495.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.495.b executed"
		add_political_power = -15
		add_stability = 0.005
		hidden_effect = { set_country_flag = USA_spacex_hls_split }
		ai_chance = {
			base = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.495.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.495.c executed"
		add_political_power = 10
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.0025 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_spacex_hls_government_lander }
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.496
	title = usa_economic_events.496.t
	desc = usa_economic_events.496.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_spacex_nssl_dual_source }
		NOT = { has_country_flag = USA_spacex_nssl_legacy_prime }
		NOT = { has_country_flag = USA_spacex_nssl_sole_source }
	}

	option = {
		name = usa_economic_events.496.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.496.a executed"
		add_political_power = -10
		add_stability = 0.005
		add_tech_bonus = {
			name = usa_economic_events.496.t
			bonus = 0.10
			uses = 1
			category = CAT_space
		}
		hidden_effect = { set_country_flag = USA_spacex_nssl_dual_source }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.496.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.496.b executed"
		add_political_power = 5
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.0025 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_spacex_nssl_legacy_prime }
		ai_chance = {
			base = 25
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.496.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.496.c executed"
		add_political_power = 15
		add_stability = -0.01
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_productivity = 0.005 tooltip = productivity_growth_modifier_tt }
		hidden_effect = { set_country_flag = USA_spacex_nssl_sole_source }
		ai_chance = {
			base = 15
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.497
	title = usa_economic_events.497.t
	desc = usa_economic_events.497.d
	picture = GFX_spacex_mars
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_spacex_licensing_iterative }
		NOT = { has_country_flag = USA_spacex_licensing_environmental }
		NOT = { has_country_flag = USA_spacex_licensing_federalized }
	}

	option = {
		name = usa_economic_events.497.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.497.a executed"
		add_political_power = -10
		add_tech_bonus = {
			name = usa_economic_events.497.t
			bonus = 0.10
			uses = 1
			category = CAT_space
		}
		hidden_effect = { set_country_flag = USA_spacex_licensing_iterative }
		ai_chance = {
			base = 60
			modifier = {
				add = 40
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.497.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.497.b executed"
		add_political_power = -5
		add_stability = 0.01
		hidden_effect = { set_country_flag = USA_spacex_licensing_environmental }
		ai_chance = {
			base = 30
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.497.c
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.497.c executed"
		add_political_power = -15
		custom_effect_tooltip = {
			localization_key = modifies_dynamic_modifier_tt
			MODIFIER = us_economic_policies
		}
		add_to_variable = { econ_factory_output = 0.0025 tooltip = industrial_capacity_factory_tt }
		hidden_effect = { set_country_flag = USA_spacex_licensing_federalized }
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.498
	title = usa_economic_events.498.t
	desc = usa_economic_events.498.d
	picture = GFX_spacex_mars
	is_triggered_only = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = USA
		NOT = { has_country_flag = collapsed_nation }
		USA_spacex_outcome_settled = no
	}

	option = {
		name = usa_economic_events.498.a
		trigger = { has_country_flag = USA_spacex_nssl_sole_source }
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.498.a executed"
		effect_tooltip = { add_timed_idea = { idea = USA_spacex_commercial_monopoly_risk days = 365 } }
		hidden_effect = { USA_spacex_apply_commercial_monopoly_risk = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.498.b
		trigger = {
			has_country_flag = USA_spacex_reuse_ramp
			NOT = { has_country_flag = USA_spacex_nssl_sole_source }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.498.b executed"
		effect_tooltip = { add_ideas = USA_spacex_cadence_champion }
		hidden_effect = { USA_spacex_apply_cadence_leadership = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.498.c
		trigger = {
			has_country_flag = USA_spacex_hls_awarded
			NOT = { has_country_flag = USA_spacex_nssl_sole_source }
			NOT = { has_country_flag = USA_spacex_reuse_ramp }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.498.c executed"
		effect_tooltip = { add_ideas = USA_spacex_deep_space_stack }
		hidden_effect = { USA_spacex_apply_heavy_lift_transition = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.498.e
		trigger = {
			has_country_flag = USA_spacex_starlink_allied
			NOT = { has_country_flag = USA_spacex_nssl_sole_source }
			NOT = { has_country_flag = USA_spacex_reuse_ramp }
			NOT = { has_country_flag = USA_spacex_hls_awarded }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.498.e executed"
		effect_tooltip = { add_ideas = USA_spacex_allied_leo_connectivity }
		hidden_effect = { USA_spacex_apply_starlink_infrastructure = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.498.f
		trigger = {
			NOT = { has_country_flag = USA_spacex_nssl_sole_source }
			NOT = { has_country_flag = USA_spacex_reuse_ramp }
			NOT = { has_country_flag = USA_spacex_hls_awarded }
			NOT = { has_country_flag = USA_spacex_starlink_allied }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.498.f executed"
		effect_tooltip = { add_ideas = USA_spacex_mixed_provider_ecosystem }
		hidden_effect = { USA_spacex_apply_mixed_provider_ecosystem = yes }
		ai_chance = { base = 100 }
	}
}

### Anduril Corporate History ###

country_event = {
	id = usa_economic_events.500
	title = usa_economic_events.500.t
	desc = usa_economic_events.500.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_anduril_software_first }
		NOT = { has_country_flag = USA_anduril_programme_of_record }
	}

	option = {
		name = usa_economic_events.500.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.500.a executed"
		set_temp_variable = { treasury_change = -2.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.500.t
			bonus = 0.15
			uses = 1
			category = CAT_drones
		}
		set_country_flag = USA_anduril_software_first
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.500.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.500.b executed"
		add_political_power = 15
		set_country_flag = USA_anduril_programme_of_record
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.501
	title = usa_economic_events.501.t
	desc = usa_economic_events.501.d
	picture = GFX_military_exercise
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_anduril_attritable_intercept }
		NOT = { has_country_flag = USA_anduril_layered_air_defence }
	}

	option = {
		name = usa_economic_events.501.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.501.a executed"
		set_temp_variable = { treasury_change = -3.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.501.t
			bonus = 0.15
			uses = 1
			category = CAT_l_drone
		}
		set_country_flag = USA_anduril_attritable_intercept
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.501.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.501.b executed"
		add_tech_bonus = {
			name = usa_economic_events.501.t
			bonus = 0.10
			uses = 1
			category = CAT_sam
		}
		set_country_flag = USA_anduril_layered_air_defence
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.502
	title = usa_economic_events.502.t
	desc = usa_economic_events.502.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_anduril_owns_production }
		NOT = { has_country_flag = USA_anduril_integrator_model }
	}

	option = {
		name = usa_economic_events.502.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.502.a executed"
		set_temp_variable = { treasury_change = -6.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.502.t
			bonus = 0.15
			uses = 1
			category = CAT_robotics
		}
		set_country_flag = USA_anduril_owns_production
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.502.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.502.b executed"
		add_political_power = 20
		set_country_flag = USA_anduril_integrator_model
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.503
	title = usa_economic_events.503.t
	desc = usa_economic_events.503.d
	picture = GFX_military_exercise
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_anduril_ukraine_pipeline }
		NOT = { has_country_flag = USA_anduril_domestic_stocks_first }
	}

	option = {
		name = usa_economic_events.503.a
		trigger = { country_exists = UKR }
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.503.a executed"
		send_equipment = { type = guided_missile_equipment amount = 150 target = UKR }
		add_war_support = 0.02
		set_country_flag = USA_anduril_ukraine_pipeline
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = usa_economic_events.503.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.503.b executed"
		add_tech_bonus = {
			name = usa_economic_events.503.t
			bonus = 0.10
			uses = 1
			category = CAT_a_uav
		}
		set_country_flag = USA_anduril_domestic_stocks_first
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = usa_economic_events.504
	title = usa_economic_events.504.t
	desc = usa_economic_events.504.d
	picture = GFX_fighter_jet
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		NOT = { has_country_flag = USA_anduril_displaces_primes }
		NOT = { has_country_flag = USA_anduril_primes_retained }
	}

	option = {
		name = usa_economic_events.504.a
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.504.a executed"
		set_temp_variable = { treasury_change = -8.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = usa_economic_events.504.t
			bonus = 0.15
			uses = 1
			category = CAT_a_uav
		}
		set_country_flag = USA_anduril_displaces_primes
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = usa_economic_events.504.b
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.504.b executed"
		add_tech_bonus = {
			name = usa_economic_events.504.t
			bonus = 0.10
			uses = 1
			category = CAT_fighter
		}
		set_country_flag = USA_anduril_primes_retained
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = usa_economic_events.505
	title = usa_economic_events.505.t
	desc = usa_economic_events.505.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = collapsed_nation }
		USA_anduril_outcome_settled = no
	}

	option = {
		name = usa_economic_events.505.a
		trigger = {
			has_country_flag = USA_anduril_owns_production
			has_country_flag = USA_anduril_displaces_primes
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.505.a executed"
		effect_tooltip = { add_ideas = USA_anduril_autonomous_arsenal }
		hidden_effect = { USA_anduril_apply_autonomous_arsenal = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.505.b
		trigger = {
			has_country_flag = USA_anduril_owns_production
			NOT = { has_country_flag = USA_anduril_displaces_primes }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.505.b executed"
		effect_tooltip = { add_timed_idea = { idea = USA_anduril_merchant_arsenal days = 365 } }
		hidden_effect = { USA_anduril_apply_merchant_arsenal = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.505.c
		trigger = {
			NOT = { has_country_flag = USA_anduril_owns_production }
			has_country_flag = USA_anduril_displaces_primes
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.505.c executed"
		effect_tooltip = { add_timed_idea = { idea = USA_anduril_software_prime days = 365 } }
		hidden_effect = { USA_anduril_apply_software_prime = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = usa_economic_events.505.e
		trigger = {
			NOT = { has_country_flag = USA_anduril_owns_production }
			NOT = { has_country_flag = USA_anduril_displaces_primes }
		}
		log = "[GetDateText]: [Root.GetName]: usa_economic_events.505.e executed"
		effect_tooltip = { add_timed_idea = { idea = USA_anduril_venture_supplier days = 365 } }
		hidden_effect = { USA_anduril_apply_venture_supplier = yes }
		ai_chance = { base = 100 }
	}
}
